mirror of
https://github.com/curl/curl.git
synced 2026-07-30 05:48:03 +03:00
parent
150f45e8d1
commit
0c76795caf
5 changed files with 5 additions and 7 deletions
|
|
@ -109,7 +109,7 @@ size_t tool_header_cb(char *ptr, size_t size, size_t nmemb, void *userdata)
|
|||
size_t etag_length = 0;
|
||||
|
||||
etag_h = ptr;
|
||||
/* point to first occurence of double quote */
|
||||
/* point to first occurrence of double quote */
|
||||
first = memchr(etag_h, '\"', cb);
|
||||
|
||||
/*
|
||||
|
|
@ -127,7 +127,7 @@ size_t tool_header_cb(char *ptr, size_t size, size_t nmemb, void *userdata)
|
|||
first++;
|
||||
}
|
||||
|
||||
/* point to last occurence of double quote */
|
||||
/* point to last occurrence of double quote */
|
||||
last = memchr(first, '\"', cb);
|
||||
|
||||
if(!last) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue