From 99d24402236ab621f8c03fdba49e7a75e38263a5 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Mon, 20 Feb 2012 10:52:24 -0500 Subject: Depend on UCRED, we cannot work otherwise. --- proxy/src/gp_socket.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'proxy/src') diff --git a/proxy/src/gp_socket.c b/proxy/src/gp_socket.c index 233633b..01c89fe 100644 --- a/proxy/src/gp_socket.c +++ b/proxy/src/gp_socket.c @@ -42,9 +42,7 @@ struct gp_creds { int type; -#ifdef HAVE_UCRED struct ucred ucred; -#endif }; #define FRAGMENT_BIT (1 << 31) @@ -176,7 +174,6 @@ done: static int get_peercred(int fd, struct gp_conn *conn) { -#ifdef HAVE_UCRED socklen_t len; int ret; @@ -190,7 +187,6 @@ static int get_peercred(int fd, struct gp_conn *conn) } conn->creds.type |= CRED_TYPE_UNIX; -#endif return 0; } -- cgit