fix some format strings to actually compile without errors
authorKevin P. Fleming <kpfleming@digium.com>
Thu, 7 Aug 2008 16:29:08 +0000 (16:29 +0000)
committerKevin P. Fleming <kpfleming@digium.com>
Thu, 7 Aug 2008 16:29:08 +0000 (16:29 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@136477 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_voicemail.c

index ffaad38..ede519b 100644 (file)
@@ -5736,8 +5736,8 @@ static int play_message(struct ast_channel *chan, struct ast_vm_user *vmu, struc
                } else {
                        res = wait_file2(chan, vms, "vm-message");  /* "message" */
                        if (vms->curmsg && (vms->curmsg != vms->lastmsg)) {
-                               ast_log(LOG_DEBUG, "curmsg: %s\n", vms->curmsg);
-                               ast_log(LOG_DEBUG, "lagmsg: %s\n", vms->lastmsg);
+                               ast_log(LOG_DEBUG, "curmsg: %d\n", vms->curmsg);
+                               ast_log(LOG_DEBUG, "lagmsg: %d\n", vms->lastmsg);
                                if (!res) {
                                        res = ast_say_number(chan, vms->curmsg + 1, AST_DIGIT_ANY, chan->language, "f");
                                }