X-Git-Url: http://git.zerfleddert.de/cgi-bin/gitweb.cgi/usb-driver/blobdiff_plain/e9a331c74517c7ba860ffd5a33eac54ef311bace..cdce4d4dfe8bc11405ff186cc523989c68bbc1b4:/config.c diff --git a/config.c b/config.c index 78de78b..a39902e 100644 --- a/config.c +++ b/config.c @@ -143,7 +143,7 @@ static void read_config() { vid = 0; vid = strtol(pbuf, NULL, 16); - if (!num) { + if (!vid) { PARSEERROR; continue; } @@ -158,7 +158,7 @@ static void read_config() { pid = 0; pid = strtol(pbuf, NULL, 16); - if (!num) { + if (!pid) { PARSEERROR; continue; }