Missing parenthesis
authorTilghman Lesher <tilghman@meg.abyt.es>
Tue, 27 Jun 2006 15:53:27 +0000 (15:53 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Tue, 27 Jun 2006 15:53:27 +0000 (15:53 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36176 65c4cc65-6c06-0410-ace0-fbb531ad65f3

res/res_jabber.c

index 2218b39..b79eb1f 100644 (file)
@@ -1035,7 +1035,7 @@ static void aji_handle_message(struct aji_client *client, ikspak *pak)
        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));