aboutsummaryrefslogtreecommitdiffstats
path: root/logger.c
diff options
context:
space:
mode:
Diffstat (limited to 'logger.c')
-rwxr-xr-xlogger.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/logger.c b/logger.c
index a1dad8eaf..6a617f897 100755
--- a/logger.c
+++ b/logger.c
@@ -171,7 +171,7 @@ static struct logchannel *make_logchannel(char *channel, char *components, int l
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;
}