aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoroej <oej@f38db490-d61c-443f-a65b-d21fe96a405b>2006-05-03 12:46:29 +0000
committeroej <oej@f38db490-d61c-443f-a65b-d21fe96a405b>2006-05-03 12:46:29 +0000
commitdc4868e5e681d0c643b243fddd5a7f58b3f0d8a8 (patch)
treea08538b3c2fef86cc4e1fe5908202bc9d9b55952
parentaa8c95d7c981460127ec0577d34372757ae13177 (diff)
Issue #7074 - Problem with long contact lines
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@24382 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 a84cbe218..2d7c6cd0d 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -6170,8 +6170,8 @@ enum parse_register_result {
/*! \brief Parse contact header and save registration */
static enum parse_register_result parse_register_contact(struct sip_pvt *pvt, struct sip_peer *p, struct sip_request *req)
{
- char contact[80];
- char data[256];
+ char contact[BUFSIZ];
+ char data[BUFSIZ];
char iabuf[INET_ADDRSTRLEN];
const char *expires = get_header(req, "Expires");
int expiry = atoi(expires);