From: Antonio Ospite Date: Wed, 14 Sep 2016 10:16:22 +0000 (+0200) Subject: visomat-data-downloader: improve wording in a comment X-Git-Url: https://git.ao2.it/visomat-utils.git/commitdiff_plain/cfb76281a479714cf2ad4885a9789779c851cbff?ds=inline visomat-data-downloader: improve wording in a comment --- diff --git a/src/visomat-data-downloader.c b/src/visomat-data-downloader.c index b471dc9..bc9ec90 100644 --- a/src/visomat-data-downloader.c +++ b/src/visomat-data-downloader.c @@ -304,7 +304,7 @@ static int get_response(libusb_device_handle *dev, } while (buffer[i - 1] != ETX && i < len); - /* Check the buffer is a valid response packet */ + /* Check if the buffer contains a valid response packet */ if (buffer[0] != STX || buffer[i - 1] != ETX) return -EINVAL;