Say "message 1" in title (bug #1521)
authorMark Spencer <markster@digium.com>
Fri, 30 Apr 2004 00:25:07 +0000 (00:25 +0000)
committerMark Spencer <markster@digium.com>
Fri, 30 Apr 2004 00:25:07 +0000 (00:25 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2825 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_voicemail.c

index 620af30..a3bb4c0 100755 (executable)
@@ -821,7 +821,7 @@ static int sendmail(char *srcemail, struct ast_vm_user *vmu, int msgnum, char *m
 
                if( *emailtitle)
                {
-                       fprintf(p, emailtitle, msgnum, mailbox) ;
+                       fprintf(p, emailtitle, msgnum + 1, mailbox) ;
                        fprintf(p,"\n") ;
                }
                else