* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2015, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2014, 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
#include "getinfo.h"
#include "transfer.h"
#include "url.h"
+#include "curl_memory.h"
#include "parsedate.h" /* for the week day and month names */
#include "warnless.h"
-#include "curl_printf.h"
-/* The last #include files should be: */
-#include "curl_memory.h"
+#define _MPRINTF_REPLACE /* use our functions only */
+#include <curl/mprintf.h>
+
+/* The last #include file should be: */
#include "memdebug.h"
#if defined(WIN32) || defined(MSDOS) || defined(__EMX__) || \
* Since FILE: doesn't do the full init, we need to provide some extra
* assignments here.
*/
+ conn->fread_func = data->set.fread_func;
+ conn->fread_in = data->set.in;
conn->data->req.upload_fromhere = buf;
if(!dir)