projects
/
curl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb2317b
)
the debug callback was called with CURLINFO_TEXT with the data size one
author
Daniel Stenberg
<daniel@haxx.se>
Wed, 10 Aug 2005 22:57:14 +0000
(22:57 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Wed, 10 Aug 2005 22:57:14 +0000
(22:57 +0000)
too big
lib/ssluse.c
patch
|
blob
|
history
diff --git
a/lib/ssluse.c
b/lib/ssluse.c
index 0af7da41ef602030a44a5b138da3d96c643f12b6..b2bb3bbe4d6247ffc22034d3a2fdf55de989044c 100644
(file)
--- a/
lib/ssluse.c
+++ b/
lib/ssluse.c
@@
-1098,8
+1098,8
@@
static void ssl_tls_trace(int direction, int ssl_ver, int content_type,
msg_type = *(char*)buf;
msg_name = ssl_msg_type(ssl_ver, msg_type);
- txt_len =
1 +
snprintf(ssl_buf, sizeof(ssl_buf), "SSLv%c, %s%s (%d):\n",
-
ver, tls_rt_name, msg_name, msg_type);
+ txt_len = snprintf(ssl_buf, sizeof(ssl_buf), "SSLv%c, %s%s (%d):\n",
+ ver, tls_rt_name, msg_name, msg_type);
Curl_debug(data, CURLINFO_TEXT, ssl_buf, txt_len, NULL);
Curl_debug(data, (direction == 1) ? CURLINFO_SSL_DATA_OUT :