mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 20:20:07 +00:00
Yet another error message in the dialplan (thanks, rmudgett/russellb)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@228196 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -6448,7 +6448,8 @@ static int acf_meetme_info(struct ast_channel *chan, const char *cmd, char *data
|
|||||||
if (result > -1) {
|
if (result > -1) {
|
||||||
snprintf(buf, len, "%d", result);
|
snprintf(buf, len, "%d", result);
|
||||||
} else if (result == -1) {
|
} else if (result == -1) {
|
||||||
snprintf(buf, len, "%s %s", "Error: invalid keyword:", args.keyword);
|
ast_log(LOG_NOTICE, "Error: invalid keyword: '%s'\n", args.keyword);
|
||||||
|
snprintf(buf, len, "0");
|
||||||
} else if (result == -2) {
|
} else if (result == -2) {
|
||||||
ast_log(LOG_NOTICE, "Error: conference (%s) not found\n", args.confno);
|
ast_log(LOG_NOTICE, "Error: conference (%s) not found\n", args.confno);
|
||||||
snprintf(buf, len, "0");
|
snprintf(buf, len, "0");
|
||||||
|
Reference in New Issue
Block a user