diff options
author | Daniel Stenberg <daniel@haxx.se> | 2001-11-21 23:01:01 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2001-11-21 23:01:01 +0000 |
commit | 064cf971efd2f5e86356c028cb019e4f10f69416 (patch) | |
tree | e075ee565b0bbb985bb6596406ef58b63eb537b5 | |
parent | 91b15987566463ffc7ff4692c7e678a8a4cd7bf3 (diff) |
init the errorbuf to prevent junk from being output
-rw-r--r-- | src/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c index f419e0ac5..f71262bc2 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"); |