/soc/2015/jgeboski/facebook: 61105b311c1f: facebook: use proper ...
James Geboski
jgeboski at gmail.com
Tue Aug 11 19:38:36 EDT 2015
Changeset: 61105b311c1fed928f5563f429775e02e96d7de6
Author: James Geboski <jgeboski at gmail.com>
Date: 2015-08-11 14:29 -0400
Branch: facebook
URL: https://hg.pidgin.im/soc/2015/jgeboski/facebook/rev/61105b311c1f
Description:
facebook: use proper debugging utility for JSON data
diffstat:
libpurple/protocols/facebook/api.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (13 lines):
diff --git a/libpurple/protocols/facebook/api.c b/libpurple/protocols/facebook/api.c
--- a/libpurple/protocols/facebook/api.c
+++ b/libpurple/protocols/facebook/api.c
@@ -360,7 +360,8 @@ fb_api_json_chk(FbApi *api, gconstpointe
return FALSE;
}
- g_print("JSON: %.*s\n", (gint) size, (gchar*) data);
+ fb_util_debug(FB_UTIL_DEBUG_INFO, "Parsing JSON: %.*s\n",
+ (gint) size, (const gchar *) data);
root = fb_json_node_new(data, size, &err);
FB_API_ERROR_EMIT(api, err, return FALSE);
More information about the Commits
mailing list