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;
}
_______________________________________________
Asterisk-Cvs mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-cvs