commit | 577d5ac8ae6b6a6860037d62b5089e8ad6bc0599 | [log] [tgz] |
---|---|---|
author | Jarno Huuskonen <jarno.huuskonen@uef.fi> | Sun May 21 17:32:21 2017 +0300 |
committer | Willy Tarreau <w@1wt.eu> | Fri Jun 02 15:43:46 2017 +0200 |
tree | 90e1aaf26846c4d44c63b1ab2b2841e19f4be004 | |
parent | 59bb97a19279610b2cbae996bd726c8336cb1a02 [diff] [blame] |
CLEANUP: str2mask return code comment: non-zero -> zero.
diff --git a/src/standard.c b/src/standard.c index 6abedb4..95d83e4 100644 --- a/src/standard.c +++ b/src/standard.c
@@ -1007,7 +1007,7 @@ /* converts <str> to a struct in_addr containing a network mask. It can be * passed in dotted form (255.255.255.0) or in CIDR form (24). It returns 1 - * if the conversion succeeds otherwise non-zero. + * if the conversion succeeds otherwise zero. */ int str2mask(const char *str, struct in_addr *mask) {