X-Git-Url: http://git.zerfleddert.de/cgi-bin/gitweb.cgi/usb-driver/blobdiff_plain/c6338a01c2a8ce409109418adb191b01e73efacf..cc424c9bea54daee69205227bea3974572ad9b25:/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; }