aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorrizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b>2006-04-14 22:22:13 +0000
committerrizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b>2006-04-14 22:22:13 +0000
commit8c45c1475f9d6759b0cbb5e4825f8c76de211596 (patch)
tree1ce95f1777b9a848d94fad24fe92d4b9cb1c3669 /apps
parent79ece02fd9b5380fbba2a1ec7c23caf36a641361 (diff)
use ast_strdup instead of strdup
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20167 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-rw-r--r--apps/app_voicemail.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c
index f8e8219a2..65ded5395 100644
--- a/apps/app_voicemail.c
+++ b/apps/app_voicemail.c
@@ -6307,10 +6307,10 @@ static int load_config(void)
ast_copy_string(emailtitle,s,sizeof(emailtitle));
}
if ((s=ast_variable_retrieve(cfg, "general", "emailsubject")))
- emailsubject = strdup(s);
+ emailsubject = ast_strdup(s);
if ((s=ast_variable_retrieve(cfg, "general", "emailbody"))) {
char *tmpread, *tmpwrite;
- emailbody = strdup(s);
+ emailbody = ast_strdup(s);
/* substitute strings \t and \n into the apropriate characters */
tmpread = tmpwrite = emailbody;
@@ -6332,10 +6332,10 @@ static int load_config(void)
}
}
if ((s=ast_variable_retrieve(cfg, "general", "pagersubject")))
- pagersubject = strdup(s);
+ pagersubject = ast_strdup(s);
if ((s=ast_variable_retrieve(cfg, "general", "pagerbody"))) {
char *tmpread, *tmpwrite;
- pagerbody = strdup(s);
+ pagerbody = ast_strdup(s);
/* substitute strings \t and \n into the apropriate characters */
tmpread = tmpwrite = pagerbody;