aboutsummaryrefslogtreecommitdiff
path: root/src/writeout.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2000-11-21 09:38:41 +0000
committerDaniel Stenberg <daniel@haxx.se>2000-11-21 09:38:41 +0000
commit7b49d40bb0509a5fe5371a2bb90c1209abfbc29b (patch)
tree23f37f9335159ecee1bd78eb9f2a9ed20ae69857 /src/writeout.c
parent3e5ba33e2dcf2fe5959ee63e46944d2b2e2f1aa5 (diff)
removed pedantic compiler warnings
Diffstat (limited to 'src/writeout.c')
-rw-r--r--src/writeout.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/writeout.c b/src/writeout.c
index be48f84cc..a269d607b 100644
--- a/src/writeout.c
+++ b/src/writeout.c
@@ -44,6 +44,8 @@
#include <curl/curl.h>
#include <curl/types.h>
#include <curl/easy.h>
+
+#define _MPRINTF_REPLACE /* we want curl-functions instead of native ones */
#include <curl/mprintf.h>
#include "writeout.h"
@@ -175,6 +177,8 @@ void ourWriteOut(CURL *curl, char *writeinfo)
curl_easy_getinfo(curl, CURLINFO_SPEED_UPLOAD, &doubleinfo))
fprintf(stream, "%.3f", doubleinfo);
break;
+ default:
+ break;
}
break;
}