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

James Geboski <[email protected]>
Newsgroups gmane.comp.gnome.gaim.cvs
Message-ID <[email protected]>
Changeset: a21c8ba4d0e99cca20cefda40a2349390a01b785
Author:	 James Geboski <[email protected]>
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;

_______________________________________________
Commits mailing list
[email protected]
https://pidgin.im/cgi-bin/mailman/listinfo/commits
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.