From f3b412fbd6dd94d64eb6a63d88baef2816891c29 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Fri, 23 Sep 2005 00:38:22 +0000 Subject: 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 used to be commit 29919a71059b29fa27a49b1f5b84bb8881de65fc) --- source4/libcli/resolve/host.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/libcli') diff --git a/source4/libcli/resolve/host.c b/source4/libcli/resolve/host.c index 9f48f83ba4..a5edfcbc8a 100644 --- a/source4/libcli/resolve/host.c +++ b/source4/libcli/resolve/host.c @@ -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; } -- cgit