From edbae6915129156a23af014d686179c9620cd9d0 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Wed, 25 Aug 2004 00:21:53 +0000 Subject: Use new sock_any features. --- daemon/httpauthd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'daemon') diff --git a/daemon/httpauthd.c b/daemon/httpauthd.c index 3f87771..3ea58fe 100644 --- a/daemon/httpauthd.c +++ b/daemon/httpauthd.c @@ -247,7 +247,7 @@ int main(int argc, char* argv[]) errx(1, "out of memory"); /* Get the socket type */ - if(sock_any_pton(g_socket, &sany, DEFAULT_PORT) == -1) + if(sock_any_pton(g_socket, &sany, SANY_OPT_DEFANY | SANY_OPT_DEFPORT(DEFAULT_PORT)) == -1) errx(1, "invalid socket name or ip: %s", g_socket); /* Create the socket */ -- cgit v1.2.3