diff options
Diffstat (limited to 'xlators/protocol/server/src/authenticate.c')
-rw-r--r-- | xlators/protocol/server/src/authenticate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/protocol/server/src/authenticate.c b/xlators/protocol/server/src/authenticate.c index 5163d465261..0d95b9a7ac9 100644 --- a/xlators/protocol/server/src/authenticate.c +++ b/xlators/protocol/server/src/authenticate.c @@ -33,7 +33,7 @@ init (dict_t *this, char *key, data_t *value, void *data) /* It gets over written */ error = data; - if (!strncasecmp (key, "ip", strlen ("ip"))) { + if (!strncasecmp (key, "ip", SLEN ("ip"))) { gf_msg ("authenticate", GF_LOG_ERROR, 0, PS_MSG_AUTHENTICATE_ERROR, "AUTHENTICATION MODULE " "\"IP\" HAS BEEN REPLACED BY \"ADDR\""); |