[svn-commits] trunk r36176 - /trunk/res/res_jabber.c

svn-commits at lists.digium.com svn-commits at lists.digium.com
Tue Jun 27 08:53:27 MST 2006


Author: tilghman
Date: Tue Jun 27 10:53:27 2006
New Revision: 36176

URL: http://svn.digium.com/view/asterisk?rev=36176&view=rev
Log:
Missing parenthesis

Modified:
    trunk/res/res_jabber.c

Modified: trunk/res/res_jabber.c
URL: http://svn.digium.com/view/asterisk/trunk/res/res_jabber.c?rev=36176&r1=36175&r2=36176&view=diff
==============================================================================
--- trunk/res/res_jabber.c (original)
+++ trunk/res/res_jabber.c Tue Jun 27 10:53:27 2006
@@ -1035,7 +1035,7 @@
 	if (!(insert = ast_calloc(1, sizeof(struct aji_message))))
 		return;
 	time(&insert->arrived);
-	if(iks_find_cdata(pak->x, "body")
+	if (iks_find_cdata(pak->x, "body"))
 		insert->message = ast_strdup(iks_find_cdata(pak->x, "body"));
 	if(pak->id)
 		ast_copy_string(insert->id, pak->id, sizeof(insert->message));



More information about the svn-commits mailing list