mirror of
https://github.com/curl/curl.git
synced 2026-07-27 01:27:15 +03:00
parent
c60d90cd65
commit
fa057ea3de
6 changed files with 145 additions and 3 deletions
|
|
@ -1958,7 +1958,6 @@ static CURLcode setopt_cptr(struct Curl_easy *data, CURLoption option,
|
|||
* String to set in the HTTP Referer: field.
|
||||
*/
|
||||
result = Curl_setstropt(&s->str[STRING_SET_REFERER], ptr);
|
||||
Curl_bufref_set(&data->state.referer, s->str[STRING_SET_REFERER], 0, NULL);
|
||||
break;
|
||||
|
||||
case CURLOPT_USERAGENT:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue