Bug #1213. Fix for improperly specified Content-Length header
authorMalcolm Davenport <malcolmd@digium.com>
Mon, 15 Mar 2004 02:06:47 +0000 (02:06 +0000)
committerMalcolm Davenport <malcolmd@digium.com>
Mon, 15 Mar 2004 02:06:47 +0000 (02:06 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2429 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index 715d2a1..2784277 100755 (executable)
@@ -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);