X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/usb-driver/blobdiff_plain/c6338a01c2a8ce409109418adb191b01e73efacf..ad0f0d12f7625db09928da09e6417f4010b60eae:/config.c?ds=inline 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; }