mirror of
https://github.com/curl/curl.git
synced 2025-09-12 15:12:42 +03:00
init the errorbuf to prevent junk from being output
This commit is contained in:
parent
91b1598756
commit
064cf971ef
|
@ -1839,6 +1839,8 @@ operate(struct Configurable *config, int argc, char *argv[])
|
||||||
int res = 0;
|
int res = 0;
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
|
errorbuffer[0]=0; /* prevent junk from being output */
|
||||||
|
|
||||||
#ifdef MALLOCDEBUG
|
#ifdef MALLOCDEBUG
|
||||||
/* this sends all memory debug messages to a logfile named memdump */
|
/* this sends all memory debug messages to a logfile named memdump */
|
||||||
curl_memdebug("memdump");
|
curl_memdebug("memdump");
|
||||||
|
|
Loading…
Reference in New Issue
Block a user