diff options
author | Luigi Rizzo <rizzo@icir.org> | 2006-05-22 02:19:14 +0000 |
---|---|---|
committer | Luigi Rizzo <rizzo@icir.org> | 2006-05-22 02:19:14 +0000 |
commit | 75c6b453a3ebf48573eea2d67b9543b43c1c4ca0 (patch) | |
tree | e722b28f0ad1ff961a119c0356dd8db05e143220 /channels/chan_sip.c | |
parent | 1a709886e30fb2ba15869c0246f7cab086257ed7 (diff) |
mark const the 'header' argument of gettag
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@29330 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/chan_sip.c')
-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 a88553152..cc8ec2801 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -1171,7 +1171,7 @@ static int sip_register(char *value, int lineno); static void append_date(struct sip_request *req); /* Append date to SIP packet */ static int determine_firstline_parts(struct sip_request *req); static const struct cfsubscription_types *find_subscription_type(enum subscriptiontype subtype); -static const char *gettag(const struct sip_request *req, char *header, char *tagbuf, int tagbufsize); +static const char *gettag(const struct sip_request *req, const char *header, char *tagbuf, int tagbufsize); static int find_sip_method(const char *msg); static unsigned int parse_sip_options(struct sip_pvt *pvt, const char *supported); static void parse_request(struct sip_request *req); @@ -10951,7 +10951,7 @@ static int attempt_transfer(struct sip_pvt *p1, struct sip_pvt *p2) * \return Returns the pointer to the provided tag buffer, * or NULL if the tag was not found. */ -static const char *gettag(const struct sip_request *req, char *header, char *tagbuf, int tagbufsize) +static const char *gettag(const struct sip_request *req, const char *header, char *tagbuf, int tagbufsize) { const char *thetag; |