From f0e4b5bde1396c4282a085d3e2af12ce9c0cf223 Mon Sep 17 00:00:00 2001 From: Wilfried Goesgens Date: Thu, 1 Jan 2015 16:28:27 +0100 Subject: [PATCH] Fix size calculation. thanks clang. --- citadel/netconfig.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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, -- 2.30.2