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:
Yang Tse 2011-09-18 01:58:18 +02:00
parent f50d4647d0
commit 260b0f4d0c
8 changed files with 105 additions and 19 deletions

View file

@ -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 */
}