Fix debug message in MatrixHTTPAPI

It now prints the whole JSON data that has been parsed.
This commit is contained in:
Gergely Polonkai 2015-12-15 10:08:01 +01:00
parent 10b6296565
commit eb3ad3633f
1 changed files with 1 additions and 1 deletions

View File

@ -340,7 +340,7 @@ response_callback(SoupSession *session,
if (json_parser_load_from_data(parser,
(const gchar *)data, datalen,
&err)) {
g_debug("Message successfully parsed");
g_debug("Data: %s", data);
content = json_parser_get_root(parser);
if (JSON_NODE_HOLDS_OBJECT(content)) {