aboutsummaryrefslogtreecommitdiff
path: root/src/tool_main.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2019-08-08 14:51:01 +0200
committerDaniel Stenberg <daniel@haxx.se>2019-08-08 16:01:00 +0200
commit6ee9e4bd47a919bd8567958bfcca183569747a96 (patch)
treec9430854abbfd344ca357f50504e8c6301eb1af5 /src/tool_main.c
parentc5ee65ffabd6374a04c4bcff792c0d8781a140ab (diff)
cleanup: s/curl_debug/curl_dbg_debug in comments and docs
Leftovers from the function rename back in 76b63489495 Reported-by: Gisle Vanem Bug: https://github.com/curl/curl/commit/f3e0f071b14fcb46a453f69bdf4e062bcaacf362#com mitcomment-34601751 Closes #4203
Diffstat (limited to 'src/tool_main.c')
-rw-r--r--src/tool_main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tool_main.c b/src/tool_main.c
index d41e96536..4803adbb3 100644
--- a/src/tool_main.c
+++ b/src/tool_main.c
@@ -113,9 +113,9 @@ static void memory_tracking_init(void)
strcpy(fname, env);
curl_free(env);
curl_dbg_memdebug(fname);
- /* this weird stuff here is to make curl_free() get called
- before curl_memdebug() as otherwise memory tracking will
- log a free() without an alloc! */
+ /* this weird stuff here is to make curl_free() get called before
+ curl_gdb_memdebug() as otherwise memory tracking will log a free()
+ without an alloc! */
}
/* if CURL_MEMLIMIT is set, this enables fail-on-alloc-number-N feature */
env = curlx_getenv("CURL_MEMLIMIT");