[asterisk-commits] mmichelson: branch mmichelson/imap_consistency r132969 - /team/mmichelson/ima...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Jul 23 11:54:19 CDT 2008


Author: mmichelson
Date: Wed Jul 23 11:54:18 2008
New Revision: 132969

URL: http://svn.digium.com/view/asterisk?view=rev&rev=132969
Log:
Remove some comments and remove double assignment of 
a variable in forward_message


Modified:
    team/mmichelson/imap_consistency/apps/app_voicemail.c

Modified: team/mmichelson/imap_consistency/apps/app_voicemail.c
URL: http://svn.digium.com/view/asterisk/team/mmichelson/imap_consistency/apps/app_voicemail.c?view=diff&rev=132969&r1=132968&r2=132969
==============================================================================
--- team/mmichelson/imap_consistency/apps/app_voicemail.c (original)
+++ team/mmichelson/imap_consistency/apps/app_voicemail.c Wed Jul 23 11:54:18 2008
@@ -5010,12 +5010,9 @@
 				} else {
 					ast_log (LOG_ERROR,"Could not find state information for mailbox %s\n",vmtmp->mailbox);
 				}
-				/*XXX What in the name of Gandalf is the purpose of this stuff?? */
 				myserveremail = serveremail;
 				if (!ast_strlen_zero(vmtmp->serveremail))
 					myserveremail = vmtmp->serveremail;
-				/*XXX Seriously....wtf?*/
-				attach_user_voicemail = ast_test_flag((&globalflags), VM_ATTACH);
 				attach_user_voicemail = ast_test_flag(vmtmp, VM_ATTACH);
 				/* NULL category for IMAP storage */
 				sendmail(myserveremail, vmtmp, todircount, vmtmp->context, vmtmp->mailbox, S_OR(chan->cid.cid_num, NULL), S_OR(chan->cid.cid_name, NULL), vms->fn, fmt, duration, attach_user_voicemail, chan, NULL);




More information about the asterisk-commits mailing list