]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Initialize useropts/adminopts in case there is no column in the realtime DB.
authorJason Parker <jparker@digium.com>
Fri, 7 Jan 2011 20:52:00 +0000 (20:52 +0000)
committerJason Parker <jparker@digium.com>
Fri, 7 Jan 2011 20:52:00 +0000 (20:52 +0000)
(closes issue #18182)
Reported by: dimas
Patches:
      v1-18182.patch uploaded by dimas (license 88)
Tested by: dimas

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@301089 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_meetme.c

index db4c2c86ba3c57eb14d53ee85041224ea6153dbb..fcf06367029ef285e4662c5a6eb53e5e70b70907 100644 (file)
@@ -3474,8 +3474,8 @@ static struct ast_conference *find_conf_realtime(struct ast_channel *chan, char
                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;