mirror of
https://github.com/moparisthebest/curl
synced 2025-01-04 18:38:03 -05:00
parent
27c86c8871
commit
9a1593501c
@ -119,7 +119,7 @@ void curl_memdebug(const char *logname)
|
|||||||
logfile = stderr;
|
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 */
|
||||||
setvbuf(logfile, (char *)NULL, _IOLBF, 0);
|
setbuf(logfile, (char *)NULL);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user