aboutsummaryrefslogtreecommitdiffstats
path: root/res/res_jabber.c
diff options
context:
space:
mode:
authorqwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-02-20 16:53:45 +0000
committerqwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-02-20 16:53:45 +0000
commit8a025c5da27c586aae4263b29640a855bf579c4d (patch)
treee654b2fdc27b665dc1f083480a030d8a08dad801 /res/res_jabber.c
parentc9895cacaa13c2605a9bae115ed901773c0b874f (diff)
No need to cast nor free with strdupa (thanks file)
55555! git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@55555 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'res/res_jabber.c')
-rw-r--r--res/res_jabber.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/res/res_jabber.c b/res/res_jabber.c
index 54c52a33a..414f5c5bc 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')) {