--------------------- PatchSet 11574 Date: 2007/08/21 16:40:38 Author: hno Branch: HEAD Tag: (none) Log: allow lowercase syslog facility/priority names Members: src/logfile.c:1.20->1.21 Index: squid/src/logfile.c =================================================================== RCS file: /cvsroot/squid/squid/src/logfile.c,v retrieving revision 1.20 retrieving revision 1.21 diff -u -r1.20 -r1.21 --- squid/src/logfile.c 2 Sep 2006 14:08:42 -0000 1.20 +++ squid/src/logfile.c 21 Aug 2007 16:40:38 -0000 1.21 @@ -1,5 +1,5 @@ /* - * $Id: logfile.c,v 1.20 2006/09/02 14:08:42 hno Exp $ + * $Id: logfile.c,v 1.21 2007/08/21 16:40:38 hno Exp $ * * DEBUG: section 50 Log file handling * AUTHOR: Duane Wessels @@ -107,7 +107,7 @@ syslog_symbol_t *p; for (p = symbols; p->name != NULL; ++p) - if (!strcmp(s, p->name) || !strcmp(s, p->name + 4)) + if (!strcmp(s, p->name) || !strcasecmp(s, p->name + 4)) return p->value; return 0; }