WPS: Remove duplicated isgraph() loop in HTTP header parsing
The hbp pointer is moved to the next space already earlier in this code path, so the while loop here did not really do anything. Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
f79a19746a
commit
24a5e528ce
1 changed files with 0 additions and 2 deletions
|
@ -278,8 +278,6 @@ static int httpread_hdr_analyze(struct httpread *h)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
*uri = 0; /* null terminate */
|
*uri = 0; /* null terminate */
|
||||||
while (isgraph(*hbp))
|
|
||||||
hbp++;
|
|
||||||
while (*hbp == ' ' || *hbp == '\t')
|
while (*hbp == ' ' || *hbp == '\t')
|
||||||
hbp++;
|
hbp++;
|
||||||
/* get version */
|
/* get version */
|
||||||
|
|
Loading…
Reference in a new issue