diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c index dadc0b0961b46c0ba8f067e5144326ccd86a55f7..f519602c029f1c375a52adc9c8172067fd5ebb31 100644 --- a/apps/app_voicemail.c +++ b/apps/app_voicemail.c @@ -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);