diff options
author | rizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-05-22 00:46:04 +0000 |
---|---|---|
committer | rizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-05-22 00:46:04 +0000 |
commit | e7368045c2f419adb378eaf05407d1f41f2c5857 (patch) | |
tree | ba64ffbd03936552456ccdca895dbeaebd2223ad /channels | |
parent | 99d77e94c0b902e7e1ecca72171c2fbd1ebcee54 (diff) |
annotate const parameters of copy_header()
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@29268 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rw-r--r-- | channels/chan_sip.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 84e7560cc..7dce504a3 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -1207,7 +1207,7 @@ static int add_text(struct sip_request *req, const char *text); static int add_digit(struct sip_request *req, char digit); static int add_vidupdate(struct sip_request *req); static void add_route(struct sip_request *req, struct sip_route *route); -static int copy_header(struct sip_request *req, struct sip_request *orig, char *field); +static int copy_header(struct sip_request *req, const struct sip_request *orig, const char *field); static int copy_all_header(struct sip_request *req, struct sip_request *orig, char *field); static int copy_via_headers(struct sip_pvt *p, struct sip_request *req, struct sip_request *orig, char *field); static void set_destination(struct sip_pvt *p, char *uri); @@ -4274,7 +4274,7 @@ static int add_line(struct sip_request *req, const char *line) } /*! \brief Copy one header field from one request to another */ -static int copy_header(struct sip_request *req, struct sip_request *orig, char *field) +static int copy_header(struct sip_request *req, const struct sip_request *orig, const char *field) { const char *tmp = get_header(orig, field); |