From: Andre Noll Date: Sun, 20 Aug 2006 16:01:59 +0000 (+0200) Subject: Kill dummy ucred struct X-Git-Tag: v0.2.14~42 X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=commitdiff_plain;h=f6b76710fc61ee6a201d7ded487185649577de38;hp=95ef8f79c9ae684e07568653b0c68ea669188e9f Kill dummy ucred struct If unix socked credentials are availabe, this code is #ifdef'd out. If it isn't available (eg. Mac OS) it is unused. --- diff --git a/net.c b/net.c index 66db86bc..e7c7724b 100644 --- a/net.c +++ b/net.c @@ -391,9 +391,6 @@ int create_pf_socket(const char *name, struct sockaddr_un *unix_addr, int mode) } #ifndef HAVE_UCRED - struct ucred { - uid_t uid, pid, gid; -}; ssize_t send_cred_buffer(int sock, char *buf) { return send_buffer(sock, buf);