aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2007-08-02 11:34:50 +0000
committerDaniel Stenberg <daniel@haxx.se>2007-08-02 11:34:50 +0000
commit59c16a570fffdb9442e1ff0ceb4dca93950cd57c (patch)
tree05f4485254867f060c012e91c10e846c716415ee /lib
parent50c10aa5bf545eedfdbe561116656b6ec12654cd (diff)
argh, Greg Morse pointed out that the NTLM POST fix only worked if VERBOSE
was set, this should make it work for all cases!
Diffstat (limited to 'lib')
-rw-r--r--lib/http.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/http.c b/lib/http.c
index 61511b57a..d22c591f9 100644
--- a/lib/http.c
+++ b/lib/http.c
@@ -921,15 +921,15 @@ CURLcode add_buffer_send(send_buffer *in,
/* this data _may_ contain binary stuff */
Curl_debug(conn->data, CURLINFO_HEADER_OUT, ptr,
(size_t)(amount-included_body_bytes), conn);
- if (included_body_bytes) {
+ if (included_body_bytes)
Curl_debug(conn->data, CURLINFO_DATA_OUT,
ptr+amount-included_body_bytes,
(size_t)included_body_bytes, conn);
- /* since we sent a piece of the body here, up the byte counter for it
- accordingly */
- http->writebytecount = included_body_bytes;
- }
}
+ if (included_body_bytes)
+ /* since we sent a piece of the body here, up the byte counter for it
+ accordingly */
+ http->writebytecount = included_body_bytes;
*bytes_written += amount;