aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormalcolmd <malcolmd@f38db490-d61c-443f-a65b-d21fe96a405b>2004-03-15 02:06:47 +0000
committermalcolmd <malcolmd@f38db490-d61c-443f-a65b-d21fe96a405b>2004-03-15 02:06:47 +0000
commit44d65f0f0920180b830a38010788ac55a45ccd18 (patch)
tree1465c9d491ea762cea66708b22000e8d6db89977
parentc2cea1f430eb3b13e9d8b3f689475332b7ea2ea9 (diff)
Bug #1213. Fix for improperly specified Content-Length header
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2429 f38db490-d61c-443f-a65b-d21fe96a405b
-rwxr-xr-xchannels/chan_sip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index 715d2a1ad..2784277e1 100755
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -3266,7 +3266,7 @@ static int transmit_register(struct sip_registry *r, char *cmd, char *auth, char
add_header(&req, "Expires", tmp);
add_header(&req, "Contact", p->our_contact);
add_header(&req, "Event", "registration");
- add_header(&req, "Content-length", "0");
+ add_header(&req, "Content-Length", "0");
add_blank_header(&req);
copy_request(&p->initreq, &req);
parse(&p->initreq);