aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b>2006-05-22 02:17:52 +0000
committerrizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b>2006-05-22 02:17:52 +0000
commit0d170ae65574ea0c0b319066e570892ee14911b0 (patch)
treefdb7c28114bb9df4bce07f562efb7ee768e3020d
parent3fa7f1af6c0c0d1b06208ff8e29c6c36e129ecd8 (diff)
mark const the source of copy_request
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@29329 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r--channels/chan_sip.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index 404b34869..a88553152 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -1071,7 +1071,7 @@ static int transmit_register(struct sip_registry *r, int sipmethod, char *auth,
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 @@ static int add_sdp(struct sip_request *resp, struct sip_pvt *p)
}
/*! \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;