mirror of
https://github.com/curl/curl.git
synced 2026-04-25 06:02:14 +03:00
curl tool: create tool_myfunc.[ch] which later on will hold my_* functions
Additionally function my_useragent() now provides default User-Agent string
This commit is contained in:
parent
f50d4647d0
commit
260b0f4d0c
8 changed files with 105 additions and 19 deletions
|
|
@ -38,9 +38,7 @@ void free_config_fields(struct Configurable *config)
|
|||
|
||||
Curl_safefree(config->random_file);
|
||||
Curl_safefree(config->egd_file);
|
||||
|
||||
/* config->useragent not handled */
|
||||
|
||||
Curl_safefree(config->useragent);
|
||||
Curl_safefree(config->cookie);
|
||||
Curl_safefree(config->cookiejar);
|
||||
Curl_safefree(config->cookiefile);
|
||||
|
|
@ -123,3 +121,4 @@ void free_config_fields(struct Configurable *config)
|
|||
/* config->outs not handled */
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue