From cdce4d4dfe8bc11405ff186cc523989c68bbc1b4 Mon Sep 17 00:00:00 2001 From: Michael Gernoth Date: Mon, 8 Oct 2007 15:43:55 +0200 Subject: [PATCH] config-parser fix from Reimar Doeffinger --- config.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } -- 2.39.2