/soc/2015/jgeboski/facebook: a21c8ba4d0e9: facebook: fixed the p...

James Geboski jgeboski at gmail.com
Fri Aug 7 00:21:24 EDT 2015


Changeset: a21c8ba4d0e99cca20cefda40a2349390a01b785
Author:	 James Geboski <jgeboski at gmail.com>
Date:	 2015-08-07 00:21 -0400
Branch:	 facebook
URL: https://hg.pidgin.im/soc/2015/jgeboski/facebook/rev/a21c8ba4d0e9

Description:

facebook: fixed the printing of invalid JSON type names

diffstat:

 libpurple/protocols/facebook/json.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff --git a/libpurple/protocols/facebook/json.c b/libpurple/protocols/facebook/json.c
--- a/libpurple/protocols/facebook/json.c
+++ b/libpurple/protocols/facebook/json.c
@@ -492,7 +492,7 @@ fb_json_values_update(FbJsonValues *valu
 			g_set_error(error, FB_JSON_ERROR, FB_JSON_ERROR_TYPE,
 			            _("Expected a %s but got a %s for %s"),
 			            g_type_name(value->type),
-			            G_VALUE_TYPE_NAME(&value->value),
+			            g_type_name(type),
 				    value->expr);
 			json_node_free(node);
 			return FALSE;



More information about the Commits mailing list