diff options
author | qwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-02-20 16:56:58 +0000 |
---|---|---|
committer | qwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-02-20 16:56:58 +0000 |
commit | 25af172037c2576eac8b84bc699fe1d4bb0bff51 (patch) | |
tree | d8ce6d1225cae1aecb478b803bc364dfff1cd095 /res/res_jabber.c | |
parent | d0f092ba8488073fc7550e4c58de43e0f35f571d (diff) |
Merged revisions 55555 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r55555 | qwell | 2007-02-20 10:53:45 -0600 (Tue, 20 Feb 2007) | 4 lines
No need to cast nor free with strdupa (thanks file)
55555!
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@55556 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'res/res_jabber.c')
-rw-r--r-- | res/res_jabber.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/res/res_jabber.c b/res/res_jabber.c index 721398f91..b47add708 100644 --- a/res/res_jabber.c +++ b/res/res_jabber.c @@ -344,7 +344,7 @@ static int aji_status_exec(struct ast_channel *chan, void *data) ast_log(LOG_ERROR, "This application requires arguments.\n"); return 0; } - s = ast_strdupa((char *) data); + s = ast_strdupa(data); if (s) { sender = strsep(&s, "|"); if (sender && (sender[0] != '\0')) { @@ -404,7 +404,7 @@ static int aji_send_exec(struct ast_channel *chan, void *data) ast_log(LOG_ERROR, "This application requires arguments.\n"); return 0; } - s = ast_strdupa((char *) data); + s = ast_strdupa(data); if (s) { sender = strsep(&s, "|"); if (sender && (sender[0] != '\0')) { |