summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorTilghman Lesher <tilghman@meg.abyt.es>2007-08-01 22:19:34 +0000
committerTilghman Lesher <tilghman@meg.abyt.es>2007-08-01 22:19:34 +0000
commitd4013ef43d6a3dde5b6359aa4393b53955b74c25 (patch)
treea335bd778f01a8c3f81b5687b97ceeef6a666318 /apps
parentd9beb54cbb4ca44cae5a3c5ecdf1d39369d01bb7 (diff)
Merged revisions 77886 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r77886 | tilghman | 2007-08-01 17:14:47 -0500 (Wed, 01 Aug 2007) | 2 lines Voicemail with ODBC_STORAGE defined does not compile cleanly (missing def) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@77888 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps')
-rw-r--r--apps/app_voicemail.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c
index 5ded29db4..175620237 100644
--- a/apps/app_voicemail.c
+++ b/apps/app_voicemail.c
@@ -1790,6 +1790,7 @@ static int last_message_index(struct ast_vm_user *vmu, char *dir)
#endif
+#ifndef ODBC_STORAGE
static int vm_delete(char *file)
{
char *txt;
@@ -1807,6 +1808,7 @@ static int vm_delete(char *file)
unlink(txt);
return ast_filedelete(file, NULL);
}
+#endif
static int inbuf(struct baseio *bio, FILE *fi)
{