From 31986d81907cada78a9096f00937187ef0e78def Mon Sep 17 00:00:00 2001 From: Thomas Bernard Date: Tue, 9 Dec 2014 17:48:14 +0100 Subject: [PATCH] miniupnpd/upnphttp.c: fix 526e1dcd405f7ca94caa90c2f6520839f456eaf8 --- miniupnpd/upnphttp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/miniupnpd/upnphttp.c b/miniupnpd/upnphttp.c index c642721..7741e09 100644 --- a/miniupnpd/upnphttp.c +++ b/miniupnpd/upnphttp.c @@ -304,7 +304,7 @@ ParseHttpHeaders(struct upnphttp * h) else if(strncasecmp(line, "SID", 3)==0) { p = colon + 1; - while((*p == ' ') || (*p != '\t')) + while((*p == ' ') || (*p == '\t')) p++; n = 0; while(!isspace(p[n])) @@ -322,7 +322,7 @@ intervening space) by either an integer or the keyword "infinite". */ else if(strncasecmp(line, "Timeout", 7)==0) { p = colon + 1; - while((*p == ' ') || (*p != '\t')) + while((*p == ' ') || (*p == '\t')) p++; if(strncasecmp(p, "Second-", 7)==0) { h->req_Timeout = atoi(p+7);