diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2003-08-12 22:45:23 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2003-08-12 22:45:23 +0000 |
commit | f643cb28d8a89a38555580ba330d9dec1cc5bf54 (patch) | |
tree | 61d5911bf2ece4684c83e9595fcb3caa213a237a /apps | |
parent | ae0c417bab71d03310039150ef8563c1b8f89f63 (diff) |
Fix strdupa references
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1304 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-rwxr-xr-x | apps/app_voicemail2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/app_voicemail2.c b/apps/app_voicemail2.c index 4223504bd..a955fe32e 100755 --- a/apps/app_voicemail2.c +++ b/apps/app_voicemail2.c @@ -160,7 +160,7 @@ LOCAL_USER_DECL; static void apply_options(struct ast_vm_user *vmu, char *options) { /* Destructively Parse options and apply */ - char *stringp = strdupa(options); + char *stringp = ast_strdupa(options); char *s; char *var, *value; while((s = strsep(&stringp, "|"))) { @@ -2989,7 +2989,7 @@ static int load_config(void) z = malloc(sizeof(struct vm_zone)); if (z != NULL) { char *msg_format, *timezone; - msg_format = strdupa(var->value); + msg_format = ast_strdupa(var->value); if (msg_format != NULL) { timezone = strsep(&msg_format, "|"); strncpy(z->name, var->name, sizeof(z->name) - 1); |