From: Russell Bryant Date: Wed, 24 Aug 2005 15:39:25 +0000 (+0000) Subject: fix crash related to saving a changed password (bug #4976) X-Git-Tag: 1.0.11.1~36 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=bfac0241be0ae0732ea30f896643cf5b289de4c9;p=thirdparty%2Fasterisk.git fix crash related to saving a changed password (bug #4976) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@6392 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c index baf0ecbc15..e0cb8af0e2 100755 --- a/apps/app_voicemail.c +++ b/apps/app_voicemail.c @@ -675,7 +675,7 @@ static void vm_change_password(struct ast_vm_user *vmu, char *newpassword) } } else { /* Put it back like it was */ - fprintf(configout, orig); + fprintf(configout, "%s", orig); } } }