oops all better now.
authorMatt O'Gorman <mogorman@digium.com>
Tue, 17 Jan 2006 21:10:38 +0000 (21:10 +0000)
committerMatt O'Gorman <mogorman@digium.com>
Tue, 17 Jan 2006 21:10:38 +0000 (21:10 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8153 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_queue.c

index 9aee2f1..7c9fc51 100644 (file)
@@ -590,7 +590,7 @@ static void init_queue(struct ast_call_queue *q)
        ast_copy_string(q->sound_reporthold, "queue-reporthold", sizeof(q->sound_reporthold));
        ast_copy_string(q->sound_periodicannounce[0], "queue-periodic-announce", sizeof(q->sound_periodicannounce[0]));
        for (i=1;i<MAX_PERIODIC_ANNOUNCEMENTS;i++) {
-               ast_copy_string(q->sound_periodicannounce[i], "", sizeof(q->sound_periodicannounce[i]));
+               q->sound_periodicannounce[i][0]='\0';
        }
 }