From: Wilfried Goesgens Date: Thu, 1 Jan 2015 15:28:27 +0000 (+0100) Subject: Fix size calculation. thanks clang. X-Git-Tag: v9.01~55 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=f0e4b5bde1396c4282a085d3e2af12ce9c0cf223 Fix size calculation. thanks clang. --- diff --git a/citadel/netconfig.c b/citadel/netconfig.c index d2a39c6c6..3161b1100 100644 --- a/citadel/netconfig.c +++ b/citadel/netconfig.c @@ -926,7 +926,7 @@ void cmd_netp(char *cmdbuf) lens[0] = strlen(CCC->cs_addr); strs[1] = "SRV_UNKNOWN"; - lens[1] = sizeof("SRV_UNKNOWN" - 1); + lens[1] = sizeof("SRV_UNKNOWN") - 1; CtdlAideFPMessage( err_buf, @@ -953,7 +953,7 @@ void cmd_netp(char *cmdbuf) lens[0] = strlen(CCC->cs_addr); strs[1] = "SRV_PW"; - lens[1] = sizeof("SRV_PW" - 1); + lens[1] = sizeof("SRV_PW") - 1; CtdlAideFPMessage( err_buf,