]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Merged revisions 70677 via svnmerge from
authorJoshua Colp <jcolp@digium.com>
Thu, 21 Jun 2007 14:00:47 +0000 (14:00 +0000)
committerJoshua Colp <jcolp@digium.com>
Thu, 21 Jun 2007 14:00:47 +0000 (14:00 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r70677 | file | 2007-06-21 09:58:36 -0400 (Thu, 21 Jun 2007) | 2 lines

Fix building with ODBC storage enabled. (issue #10025 reported by denisgalvao)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@70678 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_voicemail.c

index 31928cc49576ee8c069d066e32b44c3549147563..42ef554a41c46cba8c6a57df183a2306c30afa3e 100644 (file)
@@ -1751,6 +1751,8 @@ static int last_message_index(struct ast_vm_user *vmu, char *dir)
        return x - 1;
 }
 
+#endif
+
 static int vm_delete(char *file)
 {
        char *txt;
@@ -1769,8 +1771,6 @@ static int vm_delete(char *file)
        return ast_filedelete(file, NULL);
 }
 
-
-#endif
 static int inbuf(struct baseio *bio, FILE *fi)
 {
        int l;