[asterisk-commits] ctooley: branch ctooley/excel-sip-changes r133805 - /team/ctooley/excel-sip-c...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri Jul 25 14:35:25 CDT 2008
Author: ctooley
Date: Fri Jul 25 14:35:25 2008
New Revision: 133805
URL: http://svn.digium.com/view/asterisk?view=rev&rev=133805
Log:
Content Length Header wasn't being retrieved and tested properly. Take 2 for typo
Modified:
team/ctooley/excel-sip-changes/channels/chan_sip.c
Modified: team/ctooley/excel-sip-changes/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/team/ctooley/excel-sip-changes/channels/chan_sip.c?view=diff&rev=133805&r1=133804&r2=133805
==============================================================================
--- team/ctooley/excel-sip-changes/channels/chan_sip.c (original)
+++ team/ctooley/excel-sip-changes/channels/chan_sip.c Fri Jul 25 14:35:25 2008
@@ -7805,7 +7805,7 @@
return -1;
}
respprep(&resp, p, msg, req);
- ast_copy_string(clheader, get_header(req, "Content-Length"), sizeof(stripped));
+ ast_copy_string(clheader, get_header(req, "Content-Length"), sizeof(clheader));
if(!clheader[0]) {
add_header_contentLength(&resp, 0);
}
More information about the asterisk-commits
mailing list