From 78bbf4ef1823d9db06ef93fa4856d2a8f18ba5ba Mon Sep 17 00:00:00 2001 From: Gergely Polonkai Date: Tue, 12 Jan 2016 14:09:46 +0100 Subject: [PATCH] Add debugging code --- src/matrix-http-api.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/matrix-http-api.c b/src/matrix-http-api.c index 82e3ef6..9df5ea6 100644 --- a/src/matrix-http-api.c +++ b/src/matrix-http-api.c @@ -668,6 +668,8 @@ _send(MatrixHTTPAPI *api, datalen = 0; } + g_debug("Sending (%s %s): %s", method, url, data); + soup_message_set_flags(message, SOUP_MESSAGE_NO_REDIRECT); soup_message_set_request(message, "application/json",