memdebug: fix variable name
Follow-up to 76b6348
which renamed logfile as curl_dbg_logfile.
Ref: https://github.com/curl/curl/commit/76b6348#r33259088
This commit is contained in:
Родитель
f0950acc07
Коммит
b21701c54b
|
@ -114,8 +114,8 @@ void curl_dbg_memdebug(const char *logname)
|
||||||
curl_dbg_logfile = stderr;
|
curl_dbg_logfile = stderr;
|
||||||
#ifdef MEMDEBUG_LOG_SYNC
|
#ifdef MEMDEBUG_LOG_SYNC
|
||||||
/* Flush the log file after every line so the log isn't lost in a crash */
|
/* Flush the log file after every line so the log isn't lost in a crash */
|
||||||
if(logfile)
|
if(curl_dbg_logfile)
|
||||||
setbuf(logfile, (char *)NULL);
|
setbuf(curl_dbg_logfile, (char *)NULL);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче