[asterisk-commits] qwell: branch 1.6.2 r301089 - /branches/1.6.2/apps/app_meetme.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Jan 7 20:52:06 UTC 2011


Author: qwell
Date: Fri Jan  7 14:52:00 2011
New Revision: 301089

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=301089
Log:
Initialize useropts/adminopts in case there is no column in the realtime DB.

(closes issue #18182)
Reported by: dimas
Patches: 
      v1-18182.patch uploaded by dimas (license 88)
Tested by: dimas

Modified:
    branches/1.6.2/apps/app_meetme.c

Modified: branches/1.6.2/apps/app_meetme.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.6.2/apps/app_meetme.c?view=diff&rev=301089&r1=301088&r2=301089
==============================================================================
--- branches/1.6.2/apps/app_meetme.c (original)
+++ branches/1.6.2/apps/app_meetme.c Fri Jan  7 14:52:00 2011
@@ -3474,8 +3474,8 @@
 		char eatime[32] = "";
 		char bookid[51] = "";
 		char recordingtmp[AST_MAX_EXTENSION] = "";
-		char useropts[OPTIONS_LEN + 1]; /* Used for RealTime conferences */
-		char adminopts[OPTIONS_LEN + 1];
+		char useropts[OPTIONS_LEN + 1] = ""; /* Used for RealTime conferences */
+		char adminopts[OPTIONS_LEN + 1] = "";
 		struct ast_tm tm, etm;
 		struct timeval endtime = { .tv_sec = 0 };
 		const char *var2;




More information about the asterisk-commits mailing list