mirror of
https://github.com/samba-team/samba.git
synced 2025-10-31 12:23:52 +03:00
r10438: Move portability functions to lib/replace/; replace now simply ensures
that a given set of (working) POSIX functions are available (without prefixes to their names, etc). See lib/replace/README for a list. Functions that behave different from their POSIX specification (such as sys_select, sys_read, etc) have kept the sys_ prefix.
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
f1688a8066
commit
29919a7105
@@ -105,7 +105,7 @@ static void pipe_handler(struct event_context *ev, struct fd_event *fde,
|
||||
/* enusre the address looks good */
|
||||
address[ret] = 0;
|
||||
if (strcmp(address, "0.0.0.0") == 0 ||
|
||||
sys_inet_addr(address) == INADDR_NONE) {
|
||||
inet_addr(address) == INADDR_NONE) {
|
||||
goto failed;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user