summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2015-05-11 14:30:36 +0200
committerDaniel Stenberg <daniel@haxx.se>2015-05-11 14:30:36 +0200
commit011b0fc1508c864a34e7d3ea0b84b18c412718bc (patch)
tree2b09487b329cd1c9734a8946ccaa18c296f70e64
parentaa30e238ea16e670fcf0cb7003e0dbb2f8b4237d (diff)
downloadcurl-011b0fc1508c864a34e7d3ea0b84b18c412718bc.tar.gz
http2: "stream %x" in all outputs to make it easier to search for
-rw-r--r--lib/http2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/http2.c b/lib/http2.c
index c5fade0d0..e1228a194 100644
--- a/lib/http2.c
+++ b/lib/http2.c
@@ -353,7 +353,7 @@ static int on_data_chunk_recv(nghttp2_session *session, uint8_t flags,
(void)flags;
(void)data;
DEBUGF(infof(conn->data, "on_data_chunk_recv() "
- "len = %u, stream = %x\n", len, stream_id));
+ "len = %u, stream %x\n", len, stream_id));
DEBUGASSERT(stream_id); /* should never be a zero stream ID here */
@@ -792,7 +792,7 @@ static ssize_t http2_handle_stream_close(struct http_conn *httpc,
function. */
stream->closed = FALSE;
if(stream->error_code != NGHTTP2_NO_ERROR) {
- failf(data, "HTTP/2 stream = %x was not closed cleanly: error_code = %d",
+ failf(data, "HTTP/2 stream %x was not closed cleanly: error_code = %d",
stream->stream_id, stream->error_code);
*err = CURLE_HTTP2;
return -1;