[libsoup] io-http2: fix format in two debug messages
- From: Carlos Garcia Campos <carlosgc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libsoup] io-http2: fix format in two debug messages
- Date: Mon, 24 May 2021 13:06:32 +0000 (UTC)
commit 985c0ac22cc4b775d722d8b10997588be354db43
Author: Carlos Garcia Campos <cgarcia igalia com>
Date: Mon May 24 14:05:20 2021 +0200
io-http2: fix format in two debug messages
Use %zd to ssize_t.
libsoup/http2/soup-client-message-io-http2.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libsoup/http2/soup-client-message-io-http2.c b/libsoup/http2/soup-client-message-io-http2.c
index 89e5c63a..e5a640d3 100644
--- a/libsoup/http2/soup-client-message-io-http2.c
+++ b/libsoup/http2/soup-client-message-io-http2.c
@@ -577,7 +577,7 @@ on_data_read (GInputStream *source,
GError *error = NULL;
gssize read = g_input_stream_read_finish (source, res, &error);
- h2_debug (data->io, data, "[SEND_BODY] Read %zu", read);
+ h2_debug (data->io, data, "[SEND_BODY] Read %zd", read);
/* This operation may have outlived the message data in which
case this will have been cancelled. */
@@ -640,7 +640,7 @@ on_data_source_read_callback (nghttp2_session *session,
gssize read = g_pollable_input_stream_read_nonblocking (in_stream, buf, length,
data->cancellable, &error);
if (read) {
- h2_debug (io, data, "[SEND_BODY] Read %zu", read);
+ h2_debug (io, data, "[SEND_BODY] Read %zd", read);
log_request_data (data, buf, read);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]