cpw.malu.xmpp.jingle_ft: 4a7d67a4: Parenthesize this (so I don't have to wo...
darkrain42 at pidgin.im
darkrain42 at pidgin.im
Mon Apr 12 16:35:45 EDT 2010
-----------------------------------------------------------------
Revision: 4a7d67a4700b7eb72cae56ed12169034171dff7b
Ancestor: c6b28b243532a32b17994f19f95a6b151bd84adb
Author: darkrain42 at pidgin.im
Date: 2010-04-12T20:30:18
Branch: im.pidgin.cpw.malu.xmpp.jingle_ft
URL: http://d.pidgin.im/viewmtn/revision/info/4a7d67a4700b7eb72cae56ed12169034171dff7b
Modified files:
libpurple/protocols/jabber/jingle/file-transfer.c
ChangeLog:
Parenthesize this (so I don't have to worry about operation precedence).
I suspect it was fine as-is
-------------- next part --------------
============================================================
--- libpurple/protocols/jabber/jingle/file-transfer.c 55bb434846cf8f1d5623e2a87dd65a3eafde8f6a
+++ libpurple/protocols/jabber/jingle/file-transfer.c 24d4888a6aed2b09f4f0d33c75e96fc7de80e657
@@ -795,7 +795,7 @@ jingle_file_transfer_handle_action_inter
xmlnode *reason = xmlnode_get_child(xmlcontent, "reason");
xmlnode *reason_code = reason ? reason->child : NULL;
const gchar *reason_text =
- reason_code && reason_code->type == XMLNODE_TYPE_TAG ?
+ (reason_code && reason_code->type == XMLNODE_TYPE_TAG) ?
reason_code->name : NULL;
/* do stuff here... close transfer etc... */
More information about the Commits
mailing list