[asterisk-commits] dvossel: branch dvossel/sip_uri_encode_decode r238093 - /team/dvossel/sip_uri...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Jan 6 10:43:01 CST 2010
Author: dvossel
Date: Wed Jan 6 10:42:58 2010
New Revision: 238093
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=238093
Log:
fixing typos reported by wdoekes
Modified:
team/dvossel/sip_uri_encode_decode/channels/chan_sip.c
Modified: team/dvossel/sip_uri_encode_decode/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/team/dvossel/sip_uri_encode_decode/channels/chan_sip.c?view=diff&rev=238093&r1=238092&r2=238093
==============================================================================
--- team/dvossel/sip_uri_encode_decode/channels/chan_sip.c (original)
+++ team/dvossel/sip_uri_encode_decode/channels/chan_sip.c Wed Jan 6 10:42:58 2010
@@ -14031,7 +14031,7 @@
uri = get_in_brackets(tmp);
- if (parse_uri(uri, "sip:,sips", &uri, NULL, &a, NULL, NULL, NULL)) {
+ if (parse_uri(uri, "sip:,sips:", &uri, NULL, &a, NULL, NULL, NULL)) {
ast_log(LOG_WARNING, "Not a SIP header (%s)?\n", uri);
return -1;
}
@@ -14048,7 +14048,7 @@
ast_copy_string(tmpf, get_header(req, "From"), sizeof(tmpf));
if (!ast_strlen_zero(tmpf)) {
from = get_in_brackets(tmpf);
- if (parse_uri(from, "sip:,sips", &from, NULL, &a, NULL, NULL, NULL)) {
+ if (parse_uri(from, "sip:,sips:", &from, NULL, &a, NULL, NULL, NULL)) {
ast_log(LOG_WARNING, "Not a SIP header (%s)?\n", from);
return -1;
}
@@ -14399,7 +14399,7 @@
ast_copy_string(tmp, get_header(req, "Also"), sizeof(tmp));
c = get_in_brackets(tmp);
- if (parse_uri(c, "sip:,sips", &c, NULL, &a, NULL, NULL, NULL)) {
+ if (parse_uri(c, "sip:,sips:", &c, NULL, &a, NULL, NULL, NULL)) {
ast_log(LOG_WARNING, "Huh? Not a SIP header in Also: transfer (%s)?\n", c);
return -1;
}
More information about the asterisk-commits
mailing list