[asterisk-commits] trunk r29329 - /trunk/channels/chan_sip.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Sun May 21 19:17:52 MST 2006


Author: rizzo
Date: Sun May 21 21:17:52 2006
New Revision: 29329

URL: http://svn.digium.com/view/asterisk?rev=29329&view=rev
Log:
mark const the source of copy_request


Modified:
    trunk/channels/chan_sip.c

Modified: trunk/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_sip.c?rev=29329&r1=29328&r2=29329&view=diff
==============================================================================
--- trunk/channels/chan_sip.c (original)
+++ trunk/channels/chan_sip.c Sun May 21 21:17:52 2006
@@ -1071,7 +1071,7 @@
 static int retrans_pkt(void *data);
 static int send_response(struct sip_pvt *p, struct sip_request *req, enum xmittype reliable, int seqno);
 static int send_request(struct sip_pvt *p, struct sip_request *req, enum xmittype reliable, int seqno);
-static void copy_request(struct sip_request *dst, struct sip_request *src);
+static void copy_request(struct sip_request *dst, const struct sip_request *src);
 
 /*--- Dialog management */
 static struct sip_pvt *sip_alloc(ast_string_field callid, struct sockaddr_in *sin,
@@ -5033,7 +5033,7 @@
 }
 
 /*! \brief copy SIP request (mostly used to save request for responses) */
-static void copy_request(struct sip_request *dst, struct sip_request *src)
+static void copy_request(struct sip_request *dst, const struct sip_request *src)
 {
 	long offset;
 	int x;



More information about the asterisk-commits mailing list