dect
/
asterisk
Archived
13
0
Fork 0

Small fixes

git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3046 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
markster 2004-05-23 14:55:50 +00:00
parent e64e313b83
commit aa2421e49d
1 changed files with 2 additions and 2 deletions

View File

@ -51,7 +51,7 @@ static char *descrip =
"INSTALLED FOR CONFERENCING TO WORK!\n\n"
"The option string may contain zero or more of the following characters:\n"
" 'm' -- set monitor only mode (Listen only, no talking\n"
" 'm' -- set monitor only mode (Listen only, no talking)\n"
" 't' -- set talk only mode. (Talk only, no listening)\n"
" 'p' -- allow user to exit the conference by pressing '#'\n"
" 'd' -- dynamically add conference\n"
@ -404,7 +404,7 @@ static char *complete_confcmd(char *line, char *word, int pos, int state) {
cnf = confs;
/* TODO: Find the conf number from the cmdline (ignore spaces) <- test this and make it fail-safe! */
myline = strdupa(line);
myline = ast_strdupa(line);
if (strsep(&myline, " ") && strsep(&myline, " ") && !confno) {
while((confno = strsep(&myline, " ")) && (strcmp(confno, " ") == 0))
;