diff options
author | Tilghman Lesher <tilghman@meg.abyt.es> | 2006-06-27 15:53:27 +0000 |
---|---|---|
committer | Tilghman Lesher <tilghman@meg.abyt.es> | 2006-06-27 15:53:27 +0000 |
commit | b43f5638efb4d840173a69f350c728eaf4930ac1 (patch) | |
tree | 8829ca54d51bfb4c4ebee682f150246296062969 /res/res_jabber.c | |
parent | ccc7f662d8164eacf7a1cecdd8d28905b8fec2b0 (diff) |
Missing parenthesis
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36176 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'res/res_jabber.c')
-rw-r--r-- | res/res_jabber.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_jabber.c b/res/res_jabber.c index 2218b398c..b79eb1fe0 100644 --- a/res/res_jabber.c +++ b/res/res_jabber.c @@ -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)); |