aboutsummaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2003-04-27 21:34:27 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2003-04-27 21:34:27 +0000
commit246797b309ef964e7bd9ac2082d0ef42944c0e9d (patch)
tree4f1a556ee7a811109d8fb9674e218052955e0083 /res
parentdccdbdeeb39de2990741e60c9d85013c807f3e93 (diff)
More contributed BSD enhancements
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@919 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'res')
-rwxr-xr-xres/res_indications.c4
-rwxr-xr-xres/res_parking.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/res/res_indications.c b/res/res_indications.c
index 3ed4c088d..5f039f6c7 100755
--- a/res/res_indications.c
+++ b/res/res_indications.c
@@ -248,7 +248,7 @@ static int ind_load_module(void)
if (!strcasecmp(v->name, "description")) {
strncpy(tones->description, v->value, sizeof(tones->description)-1);
} else if (!strcasecmp(v->name,"ringcadance")) {
- char *ring,*rings = strdupa(v->value);
+ char *ring,*rings = ast_strdupa(v->value);
c = rings;
ring = strsep(&c,",");
while (ring) {
@@ -270,7 +270,7 @@ static int ind_load_module(void)
ring = strsep(&c,",");
}
} else if (!strcasecmp(v->name,"alias")) {
- char *countries = strdupa(v->value);
+ char *countries = ast_strdupa(v->value);
c = countries;
country = strsep(&c,",");
while (country) {
diff --git a/res/res_parking.c b/res/res_parking.c
index 4ffbc5166..63dc19230 100755
--- a/res/res_parking.c
+++ b/res/res_parking.c
@@ -611,7 +611,7 @@ unsigned int ast_get_group(char *s)
char *c=NULL;
int start=0, finish=0,x;
unsigned int group = 0;
- copy = strdupa(s);
+ copy = ast_strdupa(s);
if (!copy) {
ast_log(LOG_ERROR, "Out of memory\n");
return 0;