mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-01 19:43:03 +00:00
Missing parenthesis
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36176 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1035,7 +1035,7 @@ static void aji_handle_message(struct aji_client *client, ikspak *pak)
|
|||||||
if (!(insert = ast_calloc(1, sizeof(struct aji_message))))
|
if (!(insert = ast_calloc(1, sizeof(struct aji_message))))
|
||||||
return;
|
return;
|
||||||
time(&insert->arrived);
|
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"));
|
insert->message = ast_strdup(iks_find_cdata(pak->x, "body"));
|
||||||
if(pak->id)
|
if(pak->id)
|
||||||
ast_copy_string(insert->id, pak->id, sizeof(insert->message));
|
ast_copy_string(insert->id, pak->id, sizeof(insert->message));
|
||||||
|
|||||||
Reference in New Issue
Block a user