Fix password change bug (bug #4976)
authorMark Spencer <markster@digium.com>
Wed, 17 Aug 2005 15:49:34 +0000 (15:49 +0000)
committerMark Spencer <markster@digium.com>
Wed, 17 Aug 2005 15:49:34 +0000 (15:49 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6340 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_voicemail.c

index 6ca24af..dbe0639 100755 (executable)
@@ -659,7 +659,7 @@ static void vm_change_password(struct ast_vm_user *vmu, const char *newpassword)
                                }
                        } else {
                                /* Put it back like it was */
-                               fprintf(configout, orig);
+                               fprintf(configout, "%s", orig);
                        }
                }
        }