[svn-commits] russell: trunk r56187 - /trunk/apps/app_voicemail.c
svn-commits at lists.digium.com
svn-commits at lists.digium.com
Thu Feb 22 09:25:23 MST 2007
Author: russell
Date: Thu Feb 22 10:25:22 2007
New Revision: 56187
URL: http://svn.digium.com/view/asterisk?view=rev&rev=56187
Log:
Fix some compilation problems in app_voicemail. There was a parenthesis missing
in a function prototype, and "#elifdef" is not a valid preprocessor directive.
(issue #9122, akohlsmith)
Modified:
trunk/apps/app_voicemail.c
Modified: trunk/apps/app_voicemail.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_voicemail.c?view=diff&rev=56187&r1=56186&r2=56187
==============================================================================
--- trunk/apps/app_voicemail.c (original)
+++ trunk/apps/app_voicemail.c Thu Feb 22 10:25:22 2007
@@ -122,7 +122,7 @@
/* Forward declarations for IMAP */
static int init_mailstream(struct vm_state *vms, int box);
-static void write_file char *filename, char *buffer, unsigned long len);
+static void write_file(char *filename, char *buffer, unsigned long len);
static void display_body(BODY *body, char *pfx, long i);
static char *get_header_by_tag(char *header, char *tag, char *buf, size_t len);
static void vm_imap_delete(int msgnum, struct vm_state *vms);
@@ -417,10 +417,12 @@
#ifdef ODBC_STORAGE
#define tdesc "Comedian Mail (Voicemail System) with ODBC Storage"
-#elifdef IMAP_STORAGE
-#define tdesc "Comedian Mail (Voicemail System) with IMAP Storage"
#else
-#define tdesc "Comedian Mail (Voicemail System)"
+# ifdef IMAP_STORAGE
+# define tdesc "Comedian Mail (Voicemail System) with IMAP Storage"
+# else
+# define tdesc "Comedian Mail (Voicemail System)"
+# endif
#endif
static char userscontext[AST_MAX_EXTENSION] = "default";
More information about the svn-commits
mailing list