summaryrefslogtreecommitdiff
path: root/lib/progress.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2015-03-03 12:36:18 +0100
committerDaniel Stenberg <daniel@haxx.se>2015-03-03 12:36:18 +0100
commitdf5578a7a304a23f9aa3670daff8573ec3ef416f (patch)
tree5a860c60fe1401cc4e577de1537f7a3c08e3bd0e /lib/progress.c
parentf2108ec34cefff432c234e167bafa4f19eae8b47 (diff)
downloadcurl-df5578a7a304a23f9aa3670daff8573ec3ef416f.tar.gz
mprintf.h: remove #ifdef CURLDEBUG
... and as a consequence, introduce curl_printf.h with that re-define magic instead and make all libcurl code use that instead.
Diffstat (limited to 'lib/progress.c')
-rw-r--r--lib/progress.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/progress.c b/lib/progress.c
index f147ce71e..b46e27405 100644
--- a/lib/progress.c
+++ b/lib/progress.c
@@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2014, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2015, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -25,9 +25,7 @@
#include "urldata.h"
#include "sendf.h"
#include "progress.h"
-
-#define _MPRINTF_REPLACE /* use our functions only */
-#include <curl/mprintf.h>
+#include "curl_printf.h"
/* Provide a string that is 2 + 1 + 2 + 1 + 2 = 8 letters long (plus the zero
byte) */