aboutsummaryrefslogtreecommitdiff
path: root/lib/sendf.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-06-18 06:20:43 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-06-18 06:20:43 +0000
commitbd3d5a17b49dfdb9029376961f429a21dd045af4 (patch)
tree30328541870aafd03e3533ba52c8005af883dc5c /lib/sendf.c
parentd4b577114bcc1c0ddde3174a82177188d76c4b71 (diff)
Gisle's "SSL patch" from June 16th 2004, modified by me as discussed on the
mailing list.
Diffstat (limited to 'lib/sendf.c')
-rw-r--r--lib/sendf.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/sendf.c b/lib/sendf.c
index a4fbb5182..b1b33a8fc 100644
--- a/lib/sendf.c
+++ b/lib/sendf.c
@@ -204,7 +204,8 @@ CURLcode Curl_sendf(curl_socket_t sockfd, struct connectdata *conn,
break;
if(data->set.verbose)
- Curl_debug(data, CURLINFO_DATA_OUT, sptr, bytes_written, conn->host.dispname);
+ Curl_debug(data, CURLINFO_DATA_OUT, sptr, bytes_written,
+ conn->host.dispname);
if((size_t)bytes_written != write_len) {
/* if not all was written at once, we must advance the pointer, decrease
@@ -444,7 +445,7 @@ static int showit(struct SessionHandle *data, curl_infotype type,
char *ptr, size_t size)
{
static const char * const s_infotype[CURLINFO_END] = {
- "* ", "< ", "> ", "{ ", "} " };
+ "* ", "< ", "> ", "{ ", "} ", "{ ", "} " };
if(data->set.fdebug)
return (*data->set.fdebug)(data, type, ptr, size,