Issue #7074 - Problem with long contact lines

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@24382 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Olle Johansson 2006-05-03 12:46:29 +00:00
parent 094a5b2974
commit 9c60f78ea1

View file

@ -6170,8 +6170,8 @@ enum parse_register_result {
/*! \brief Parse contact header and save registration */ /*! \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) static enum parse_register_result parse_register_contact(struct sip_pvt *pvt, struct sip_peer *p, struct sip_request *req)
{ {
char contact[80]; char contact[BUFSIZ];
char data[256]; char data[BUFSIZ];
char iabuf[INET_ADDRSTRLEN]; char iabuf[INET_ADDRSTRLEN];
const char *expires = get_header(req, "Expires"); const char *expires = get_header(req, "Expires");
int expiry = atoi(expires); int expiry = atoi(expires);