From f4cc87694f297cbec28a8598893bb826f8cda0cd Mon Sep 17 00:00:00 2001 From: mogorman Date: Mon, 30 Jan 2006 21:16:43 +0000 Subject: reverting blocks 9 and 10 from revision 7547 fixes bug 6080 git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8938 f38db490-d61c-443f-a65b-d21fe96a405b --- apps/app_meetme.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/apps/app_meetme.c b/apps/app_meetme.c index 73c52acf1..205b5ac4a 100644 --- a/apps/app_meetme.c +++ b/apps/app_meetme.c @@ -426,8 +426,6 @@ static void conf_play(struct ast_channel *chan, struct ast_conference *conf, int unsigned char *data; int len; int res = -1; - short *data2; - int x; if (!chan->_softhangup) res = ast_autoservice_start(chan); @@ -448,10 +446,7 @@ static void conf_play(struct ast_channel *chan, struct ast_conference *conf, int len = 0; } if (data) { - data2 = alloca(len * 2); - for (x=0;xfd, (unsigned char *)data2, len << 1, 1); + careful_write(conf->fd, data, len, 1); } AST_LIST_UNLOCK(&confs); -- cgit v1.2.3