[asterisk-commits] seanbright: branch seanbright/issue13827 r153939 - /team/seanbright/issue1382...
    SVN commits to the Asterisk project 
    asterisk-commits at lists.digium.com
       
    Mon Nov  3 09:38:03 CST 2008
    
    
  
Author: seanbright
Date: Mon Nov  3 09:38:03 2008
New Revision: 153939
URL: http://svn.digium.com/view/asterisk?view=rev&rev=153939
Log:
Per russellb, constify these to avoid a cast.
Modified:
    team/seanbright/issue13827/channels/chan_sip.c
Modified: team/seanbright/issue13827/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/team/seanbright/issue13827/channels/chan_sip.c?view=diff&rev=153939&r1=153938&r2=153939
==============================================================================
--- team/seanbright/issue13827/channels/chan_sip.c (original)
+++ team/seanbright/issue13827/channels/chan_sip.c Mon Nov  3 09:38:03 2008
@@ -10031,7 +10031,7 @@
 		ast_str_append(&tmp, 0, "<?xml version=\"1.0\"?>\n");
 		ast_str_append(&tmp, 0, "<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