diff options
author | Mark Spencer <markster@digium.com> | 2005-03-28 20:57:59 +0000 |
---|---|---|
committer | Mark Spencer <markster@digium.com> | 2005-03-28 20:57:59 +0000 |
commit | bf940e892874c3b0738dc124810cd0b967c7375a (patch) | |
tree | e94fe32905c6714bd3077afad66aec3d0680c71a /logger.c | |
parent | dc9faa21e46aeb84471e80d001f9fad18e356f3a (diff) |
No need for sizeof (bug #3887)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5294 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'logger.c')
-rwxr-xr-x | logger.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } |