aboutsummaryrefslogtreecommitdiffstats
path: root/logger.c
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2005-03-28 20:57:59 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2005-03-28 20:57:59 +0000
commitf2529d4563eea317dcbb7bdbefcfd198da83936f (patch)
treee94fe32905c6714bd3077afad66aec3d0680c71a /logger.c
parentd55d17a49496aec0974405dcd25707de499c7d81 (diff)
No need for sizeof (bug #3887)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5294 f38db490-d61c-443f-a65b-d21fe96a405b
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;
}