init the errorbuf to prevent junk from being output

This commit is contained in:
Daniel Stenberg 2001-11-21 23:01:01 +00:00
parent 91b1598756
commit 064cf971ef

View File

@ -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");