summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2018-11-30 11:58:09 +0100
committerDaniel Stenberg <daniel@haxx.se>2018-11-30 12:02:27 +0100
commit8e2549b86c4022cdad272c265a66c88f06fc3560 (patch)
tree208bcd9cf614f22498c51c9ffe41e132d4a625b1 /src
parent436b50f2f7ec8f118a0f84738cbc577fc7141f5a (diff)
downloadcurl-8e2549b86c4022cdad272c265a66c88f06fc3560.tar.gz
tool_main: rename function to make it unique and better
... there's already another function in the curl tool named free_config_fields!
Diffstat (limited to 'src')
-rw-r--r--src/tool_main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tool_main.c b/src/tool_main.c
index 3089ee37f..c3a81e933 100644
--- a/src/tool_main.c
+++ b/src/tool_main.c
@@ -192,7 +192,7 @@ static CURLcode main_init(struct GlobalConfig *config)
return result;
}
-static void free_config_fields(struct GlobalConfig *config)
+static void free_globalconfig(struct GlobalConfig *config)
{
Curl_safefree(config->trace_dump);
@@ -229,7 +229,7 @@ static void main_free(struct GlobalConfig *config)
PR_Cleanup();
}
#endif
- free_config_fields(config);
+ free_globalconfig(config);
/* Free the config structures */
config_free(config->last);