diff options
author | Rikard Falkeborn <rikard.falkeborn@gmail.com> | 2018-08-25 21:15:47 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2018-09-02 23:45:01 +0200 |
commit | 19ebc282172ff204648f350c6e716197d5b4d221 (patch) | |
tree | 8fb1e423f22370a9ef0aa0baa497fea3abc72022 | |
parent | b8b338351c6e706c87f55e223a50d7bc516cfecb (diff) | |
download | curl-19ebc282172ff204648f350c6e716197d5b4d221.tar.gz |
http2: Use correct format identifier for stream_id
Closes #2928
-rw-r--r-- | lib/http2.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/http2.c b/lib/http2.c index 22655e94c..d76919300 100644 --- a/lib/http2.c +++ b/lib/http2.c @@ -575,7 +575,7 @@ static int push_promise(struct Curl_easy *data, frame->promised_stream_id, newhandle); if(rv) { - infof(data, "failed to set user_data for stream %u\n", + infof(data, "failed to set user_data for stream %d\n", frame->promised_stream_id); DEBUGASSERT(0); goto fail; @@ -818,7 +818,7 @@ static int on_stream_close(nghttp2_session *session, int32_t stream_id, /* remove the entry from the hash as the stream is now gone */ rv = nghttp2_session_set_stream_user_data(session, stream_id, 0); if(rv) { - infof(data_s, "http/2: failed to clear user_data for stream %u!\n", + infof(data_s, "http/2: failed to clear user_data for stream %d!\n", stream_id); DEBUGASSERT(0); } @@ -1122,7 +1122,7 @@ void Curl_http2_done(struct connectdata *conn, bool premature) int rv = nghttp2_session_set_stream_user_data(httpc->h2, http->stream_id, 0); if(rv) { - infof(data, "http/2: failed to clear user_data for stream %u!\n", + infof(data, "http/2: failed to clear user_data for stream %d!\n", http->stream_id); DEBUGASSERT(0); } @@ -2132,7 +2132,7 @@ CURLcode Curl_http2_switched(struct connectdata *conn, stream->stream_id, data); if(rv) { - infof(data, "http/2: failed to set user_data for stream %u!\n", + infof(data, "http/2: failed to set user_data for stream %d!\n", stream->stream_id); DEBUGASSERT(0); } |