use strcpy instead of sprintf
authorRussell Bryant <russell@russellbryant.com>
Tue, 12 Sep 2006 20:33:09 +0000 (20:33 +0000)
committerRussell Bryant <russell@russellbryant.com>
Tue, 12 Sep 2006 20:33:09 +0000 (20:33 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42858 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_voicemail.c

index dadc0b0..f519602 100644 (file)
@@ -7473,7 +7473,7 @@ static int advanced_options(struct ast_channel *chan, struct ast_vm_user *vmu, s
        
        origtime = &origtimeS[0];
        
-       sprintf(filename,"IMAP_STORAGE");
+       strcpy(filename, "IMAP_STORAGE");
 #else
        make_file(vms->fn, sizeof(vms->fn), vms->curdir, msg);