aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_meetme.c
diff options
context:
space:
mode:
authorjpeeler <jpeeler@f38db490-d61c-443f-a65b-d21fe96a405b>2008-10-17 00:14:19 +0000
committerjpeeler <jpeeler@f38db490-d61c-443f-a65b-d21fe96a405b>2008-10-17 00:14:19 +0000
commit7600519c4d699d75549fb9f495ff27667b77f9da (patch)
treea56c13d5630121219e3f24e31fb24f685ffc9074 /apps/app_meetme.c
parent231b332d1ae3f31207bcd86562c4caabf69a9d2d (diff)
Initialize character arrays as they are not guaranteed to be set.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@150309 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_meetme.c')
-rw-r--r--apps/app_meetme.c4
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);