mirror of
https://github.com/curl/curl.git
synced 2026-04-15 02:11:42 +03:00
parent
619307feb0
commit
ea752b575c
1 changed files with 1 additions and 1 deletions
|
|
@ -330,7 +330,7 @@ static int sws_ProcessRequest(struct sws_httprequest *req)
|
|||
size_t npath = 0; /* httppath length */
|
||||
|
||||
if(sscanf(line,
|
||||
"%" REQUEST_KEYWORD_SIZE_TXT"s ", request)) {
|
||||
"%" REQUEST_KEYWORD_SIZE_TXT"s ", request) == 1) {
|
||||
http = strstr(line + strlen(request), "HTTP/");
|
||||
|
||||
if(http && sscanf(http, "HTTP/%d.%d",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue