[asterisk-commits] mogorman: trunk r42842 -
/trunk/apps/app_voicemail.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Tue Sep 12 10:45:42 MST 2006
Author: mogorman
Date: Tue Sep 12 12:45:42 2006
New Revision: 42842
URL: http://svn.digium.com/view/asterisk?rev=42842&view=rev
Log:
i dont know how msg_cfg got moved around but its all good again
Modified:
trunk/apps/app_voicemail.c
Modified: trunk/apps/app_voicemail.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_voicemail.c?rev=42842&r1=42841&r2=42842&view=diff
==============================================================================
--- trunk/apps/app_voicemail.c (original)
+++ trunk/apps/app_voicemail.c Tue Sep 12 12:45:42 2006
@@ -7421,11 +7421,10 @@
int res = 0;
#ifdef IMAP_STORAGE
char origtimeS[256],cidS[256],contextS[256];
- char *header_content,*filename,*temp;
-#else
+ char *header_content,*temp;
+#endif
char filename[256];
struct ast_config *msg_cfg;
-#endif
char *origtime, *cid, *context, *name, *num;
int retries = 0;
@@ -7473,8 +7472,8 @@
origtimeS[0] = '\0';
origtime = &origtimeS[0];
-
- filename = "IMAP_STORAGE";
+
+ sprintf(filename,"IMAP_STORAGE");
#else
make_file(vms->fn, sizeof(vms->fn), vms->curdir, msg);
More information about the asterisk-commits
mailing list