diff options
author | qwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2011-01-07 20:52:00 +0000 |
---|---|---|
committer | qwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2011-01-07 20:52:00 +0000 |
commit | 1b07e623b1b8e0c4d445a77ce9a4a46e5e41540e (patch) | |
tree | 7bb36c5ca2cfbf72daedb08e72be7d3cf1345604 /apps | |
parent | 537f7110cd70236ed5529af0e72bb4ba74fe2f14 (diff) |
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
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@301089 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-rw-r--r-- | apps/app_meetme.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/app_meetme.c b/apps/app_meetme.c index db4c2c86b..fcf063670 100644 --- a/apps/app_meetme.c +++ b/apps/app_meetme.c @@ -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; |