mirror of
https://github.com/haproxy/haproxy.git
synced 2026-04-22 23:02:34 -04:00
CLEANUP: str2mask return code comment: non-zero -> zero.
This commit is contained in:
parent
59bb97a192
commit
577d5ac8ae
2 changed files with 2 additions and 2 deletions
|
|
@ -371,7 +371,7 @@ struct sockaddr_storage *str2sa_range(const char *str,
|
|||
|
||||
/* 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);
|
||||
|
||||
|
|
|
|||
|
|
@ -1007,7 +1007,7 @@ struct sockaddr_storage *str2sa_range(const char *str, int *port, int *low, int
|
|||
|
||||
/* 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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue