projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
23a509b
)
Fix size calculation. thanks clang.
author
Wilfried Goesgens
<dothebart@citadel.org>
Thu, 1 Jan 2015 15:28:27 +0000
(16:28 +0100)
committer
Wilfried Goesgens
<dothebart@citadel.org>
Thu, 1 Jan 2015 15:28:27 +0000
(16:28 +0100)
citadel/netconfig.c
patch
|
blob
|
history
diff --git
a/citadel/netconfig.c
b/citadel/netconfig.c
index d2a39c6c63e11cd1b2e1d02af343c4b631b6e9b1..3161b11003bbff3ad471401f3536b179fc459f22 100644
(file)
--- 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,