[Asterisk-cvs] asterisk/channels chan_sip.c,1.510.2.69,1.510.2.70
russell at lists.digium.com
russell at lists.digium.com
Tue Jun 21 10:15:07 CDT 2005
Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/tmp/cvs-serv6316/channels
Modified Files:
Tag: v1-0
chan_sip.c
Log Message:
fix via comparison to not be case sensitive (bug #4496)
Index: chan_sip.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_sip.c,v
retrieving revision 1.510.2.69
retrieving revision 1.510.2.70
diff -u -d -r1.510.2.69 -r1.510.2.70
--- chan_sip.c 14 Jun 2005 20:57:38 -0000 1.510.2.69
+++ chan_sip.c 21 Jun 2005 14:15:55 -0000 1.510.2.70
@@ -5270,7 +5270,7 @@
c++;
while(*c && (*c < 33))
c++;
- if (strcmp(via, "SIP/2.0/UDP")) {
+ if (strcasecmp(via, "SIP/2.0/UDP")) {
ast_log(LOG_WARNING, "Don't know how to respond via '%s'\n", via);
return -1;
}
More information about the svn-commits
mailing list