[Asterisk-cvs] asterisk logger.c,1.45.2.4,1.45.2.5

russell at lists.digium.com russell at lists.digium.com
Tue Apr 5 05:19:37 CDT 2005


Update of /usr/cvsroot/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv6750

Modified Files:
      Tag: v1-0
	logger.c 
Log Message:
silly sizeof ... (bug #3887)


Index: logger.c
===================================================================
RCS file: /usr/cvsroot/asterisk/logger.c,v
retrieving revision 1.45.2.4
retrieving revision 1.45.2.5
diff -u -d -r1.45.2.4 -r1.45.2.5
--- logger.c	5 Apr 2005 06:09:27 -0000	1.45.2.4
+++ logger.c	5 Apr 2005 10:12:24 -0000	1.45.2.5
@@ -161,7 +161,7 @@
 		    chan->facility = -1;
 		    cptr = facilitynames;
 		    while (cptr->c_name) {
-			if (!strncasecmp(facility, cptr->c_name, sizeof(cptr->c_name))) {
+			if (!strcasecmp(facility, cptr->c_name)) {
 			    chan->facility = cptr->c_val;
 			    break;
 			}




More information about the svn-commits mailing list