Loading lib/sendf.c +2 −2 Original line number Diff line number Diff line Loading @@ -560,7 +560,7 @@ int Curl_read(struct connectdata *conn, /* connection data */ /* return 0 on success */ static int showit(struct SessionHandle *data, curl_infotype type, char *ptr, size_t size) const char *ptr, size_t size) { static const char * const s_infotype[CURLINFO_END] = { "* ", "< ", "> ", "{ ", "} ", "{ ", "} " }; Loading Loading @@ -629,7 +629,7 @@ static int showit(struct SessionHandle *data, curl_infotype type, } int Curl_debug(struct SessionHandle *data, curl_infotype type, char *ptr, size_t size, const char *ptr, size_t size, struct connectdata *conn) { int rc; Loading lib/sendf.h +1 −1 Original line number Diff line number Diff line Loading @@ -70,7 +70,7 @@ CURLcode Curl_write(struct connectdata *conn, /* the function used to output verbose information */ int Curl_debug(struct SessionHandle *handle, curl_infotype type, char *data, size_t size, const char *data, size_t size, struct connectdata *conn); Loading Loading
lib/sendf.c +2 −2 Original line number Diff line number Diff line Loading @@ -560,7 +560,7 @@ int Curl_read(struct connectdata *conn, /* connection data */ /* return 0 on success */ static int showit(struct SessionHandle *data, curl_infotype type, char *ptr, size_t size) const char *ptr, size_t size) { static const char * const s_infotype[CURLINFO_END] = { "* ", "< ", "> ", "{ ", "} ", "{ ", "} " }; Loading Loading @@ -629,7 +629,7 @@ static int showit(struct SessionHandle *data, curl_infotype type, } int Curl_debug(struct SessionHandle *data, curl_infotype type, char *ptr, size_t size, const char *ptr, size_t size, struct connectdata *conn) { int rc; Loading
lib/sendf.h +1 −1 Original line number Diff line number Diff line Loading @@ -70,7 +70,7 @@ CURLcode Curl_write(struct connectdata *conn, /* the function used to output verbose information */ int Curl_debug(struct SessionHandle *handle, curl_infotype type, char *data, size_t size, const char *data, size_t size, struct connectdata *conn); Loading