From: Daniel Stenberg Date: Wed, 21 Nov 2001 23:01:01 +0000 (+0000) Subject: init the errorbuf to prevent junk from being output X-Git-Tag: curl-7_9_2~77 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=064cf971efd2f5e86356c028cb019e4f10f69416;p=thirdparty%2Fcurl.git init the errorbuf to prevent junk from being output --- diff --git a/src/main.c b/src/main.c index f419e0ac5c..f71262bc20 100644 --- a/src/main.c +++ b/src/main.c @@ -1839,6 +1839,8 @@ operate(struct Configurable *config, int argc, char *argv[]) int res = 0; int i; + errorbuffer[0]=0; /* prevent junk from being output */ + #ifdef MALLOCDEBUG /* this sends all memory debug messages to a logfile named memdump */ curl_memdebug("memdump");