1
0

config-parser fix from Reimar Doeffinger

This commit is contained in:
Michael Gernoth 2007-10-08 15:43:55 +02:00
parent e9a331c745
commit cdce4d4dfe

View File

@ -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;
}