diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/tool_cb_dbg.c | 4 | ||||
| -rw-r--r-- | src/tool_formparse.c | 1 | ||||
| -rw-r--r-- | src/tool_getparam.c | 1 | 
3 files changed, 5 insertions, 1 deletions
diff --git a/src/tool_cb_dbg.c b/src/tool_cb_dbg.c index 4eeb7b210..b4fbe0bb9 100644 --- a/src/tool_cb_dbg.c +++ b/src/tool_cb_dbg.c @@ -26,6 +26,7 @@  #include "curlx.h"  #include "tool_cfgable.h" +#include "tool_convert.h"  #include "tool_msgs.h"  #include "tool_cb_dbg.h"  #include "tool_util.h" @@ -171,7 +172,8 @@ int tool_debug_cb(CURL *handle, curl_infotype type,        if(memcmp(&data[i], "\r\n\r\n", 4) == 0) {          /* dump everything through the CRLFCRLF as a sent header */          text = "=> Send header"; -        dump(timebuf, text, output, data, i + 4, config->tracetype, type); +        dump(timebuf, text, output, (unsigned char *)data, i + 4, +             config->tracetype, type);          data += i + 3;          size -= i + 4;          type = CURLINFO_DATA_OUT; diff --git a/src/tool_formparse.c b/src/tool_formparse.c index 88352fb11..1bcd4c563 100644 --- a/src/tool_formparse.c +++ b/src/tool_formparse.c @@ -28,6 +28,7 @@  #include "curlx.h"  #include "tool_cfgable.h" +#include "tool_convert.h"  #include "tool_mfiles.h"  #include "tool_msgs.h"  #include "tool_formparse.h" diff --git a/src/tool_getparam.c b/src/tool_getparam.c index c8c53fad1..d47f16c5c 100644 --- a/src/tool_getparam.c +++ b/src/tool_getparam.c @@ -30,6 +30,7 @@  #include "tool_binmode.h"  #include "tool_cfgable.h"  #include "tool_cb_prg.h" +#include "tool_convert.h"  #include "tool_formparse.h"  #include "tool_getparam.h"  #include "tool_helpers.h"  | 
