aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2005-08-24 15:39:25 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2005-08-24 15:39:25 +0000
commitbbcc4c355e3235543d28698c9d5597835ab2b55d (patch)
tree4624ec40436f75ad1383abc2959e48b0385a07a9
parent7e52bdb6e877f7ba8bc270884a9c53050337371d (diff)
fix crash related to saving a changed password (bug #4976)
git-svn-id: http://svn.digium.com/svn/asterisk/branches/v1-0@6392 f38db490-d61c-443f-a65b-d21fe96a405b
-rwxr-xr-xapps/app_voicemail.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c
index baf0ecbc1..e0cb8af0e 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);
}
}
}