diff options
author | Jeff Peeler <jpeeler@digium.com> | 2008-10-17 00:14:19 +0000 |
---|---|---|
committer | Jeff Peeler <jpeeler@digium.com> | 2008-10-17 00:14:19 +0000 |
commit | 4afb2649b90eae998f676958f46c55b92ba56cfd (patch) | |
tree | a56c13d5630121219e3f24e31fb24f685ffc9074 /apps/app_meetme.c | |
parent | 1b1efebf4b917f6d8b513a1f88d29957d3f08017 (diff) |
Initialize character arrays as they are not guaranteed to be set.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@150309 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_meetme.c')
-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 6a832e761..070c3c7dc 100644 --- a/apps/app_meetme.c +++ b/apps/app_meetme.c @@ -3391,8 +3391,8 @@ static int conf_exec(struct ast_channel *chan, void *data) } } if (!ast_strlen_zero(confno)) { - char useropts[OPTIONS_LEN]; - char adminopts[OPTIONS_LEN]; + char useropts[OPTIONS_LEN] = ""; + char adminopts[OPTIONS_LEN] = ""; /* Check the validity of the conference */ cnf = find_conf(chan, confno, 1, dynamic, the_pin, sizeof(the_pin), 1, &confflags); |