miniupnpd/upnphttp.c: fix 526e1dcd40

This commit is contained in:
Thomas Bernard 2014-12-09 17:48:14 +01:00
parent 9e30117cac
commit 31986d8190
1 changed files with 2 additions and 2 deletions

View File

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