Commit 064cf971 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

init the errorbuf to prevent junk from being output

parent 91b15987
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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");