[asterisk-commits] tilghman: trunk r228196 - /trunk/apps/app_meetme.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Nov 5 16:12:48 CST 2009


Author: tilghman
Date: Thu Nov  5 16:12:45 2009
New Revision: 228196

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=228196
Log:
Yet another error message in the dialplan (thanks, rmudgett/russellb)

Modified:
    trunk/apps/app_meetme.c

Modified: trunk/apps/app_meetme.c
URL: http://svnview.digium.com/svn/asterisk/trunk/apps/app_meetme.c?view=diff&rev=228196&r1=228195&r2=228196
==============================================================================
--- trunk/apps/app_meetme.c (original)
+++ trunk/apps/app_meetme.c Thu Nov  5 16:12:45 2009
@@ -6448,7 +6448,8 @@
 	if (result > -1) {
 		snprintf(buf, len, "%d", result);
 	} 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) {
 		ast_log(LOG_NOTICE, "Error: conference (%s) not found\n", args.confno); 
 		snprintf(buf, len, "0");




More information about the asterisk-commits mailing list