[asterisk-commits] seanbright: branch seanbright/issue13827-1.4 r153940 - /team/seanbright/issue...
    SVN commits to the Asterisk project 
    asterisk-commits at lists.digium.com
       
    Mon Nov  3 09:40:02 CST 2008
    
    
  
Author: seanbright
Date: Mon Nov  3 09:40:01 2008
New Revision: 153940
URL: http://svn.digium.com/view/asterisk?view=rev&rev=153940
Log:
Same here, make const.
Modified:
    team/seanbright/issue13827-1.4/channels/chan_sip.c
Modified: team/seanbright/issue13827-1.4/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/team/seanbright/issue13827-1.4/channels/chan_sip.c?view=diff&rev=153940&r1=153939&r2=153940
==============================================================================
--- team/seanbright/issue13827-1.4/channels/chan_sip.c (original)
+++ team/seanbright/issue13827-1.4/channels/chan_sip.c Mon Nov  3 09:40:01 2008
@@ -7429,7 +7429,7 @@
 		ast_build_string(&t, &maxbytes, "<?xml version=\"1.0\"?>\n");
 		ast_build_string(&t, &maxbytes, "<dialog-info xmlns=\"urn:ietf:params:xml:ns:dialog-info\" version=\"%d\" state=\"%s\" entity=\"%s\">\n", p->dialogver++, full ? "full" : "partial", mto);
 		if ((state & AST_EXTENSION_RINGING) && global_notifyringing) {
-			char *local_display = (char *) p->exten, *local_target = mto;
+			const char *local_display = p->exten, *local_target = mto;
 
 			/* There are some limitations to how this works.  The primary one is that the
 			   callee must be dialing the same extension that is being monitored.  Simply dialing
    
    
More information about the asterisk-commits
mailing list