mirror of
https://github.com/curl/curl.git
synced 2026-07-26 01:27:15 +03:00
memdebug: fix variable name
Follow-up to76b6348which renamed logfile as curl_dbg_logfile. Ref:76b6348 (r33259088)
This commit is contained in:
parent
f0950acc07
commit
b21701c54b
1 changed files with 2 additions and 2 deletions
|
|
@ -114,8 +114,8 @@ void curl_dbg_memdebug(const char *logname)
|
|||
curl_dbg_logfile = stderr;
|
||||
#ifdef MEMDEBUG_LOG_SYNC
|
||||
/* Flush the log file after every line so the log isn't lost in a crash */
|
||||
if(logfile)
|
||||
setbuf(logfile, (char *)NULL);
|
||||
if(curl_dbg_logfile)
|
||||
setbuf(curl_dbg_logfile, (char *)NULL);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue