projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
91b1598
)
init the errorbuf to prevent junk from being output
author
Daniel Stenberg
<daniel@haxx.se>
Wed, 21 Nov 2001 23:01:01 +0000
(23:01 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Wed, 21 Nov 2001 23:01:01 +0000
(23:01 +0000)
src/main.c
patch
|
blob
|
history
diff --git
a/src/main.c
b/src/main.c
index f419e0ac5c504e93b52c61ea496e6d72b614b9c2..f71262bc201938fa2a5475d26392cdffd6c2305c 100644
(file)
--- 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");