More contributed BSD enhancements

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@919 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer
2003-04-27 21:34:27 +00:00
parent 493cba1f80
commit f6764f4722
19 changed files with 70 additions and 48 deletions

View File

@@ -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;