diff options
author | Stef Walter <stef@memberwebs.com> | 2004-08-25 00:21:53 +0000 |
---|---|---|
committer | Stef Walter <stef@memberwebs.com> | 2004-08-25 00:21:53 +0000 |
commit | edbae6915129156a23af014d686179c9620cd9d0 (patch) | |
tree | 500d9bcc8e2979642b78fee9d51344d1a4621363 | |
parent | 97bad4918cb759689a72d8635004a7ee92dd8e51 (diff) |
Use new sock_any features.
-rw-r--r-- | daemon/httpauthd.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 */ |