From c0938a90185c81e653e2822718c0d5f86137d488 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ale=C5=A1=20K=C5=99enek?= Date: Wed, 20 May 2009 11:03:08 +0000 Subject: [PATCH] fake implementation of amIroot, due to linking wrt. recent changes in server (should not be called in proxy at all) --- org.glite.lb.proxy/src/lbproxy.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/org.glite.lb.proxy/src/lbproxy.c b/org.glite.lb.proxy/src/lbproxy.c index c6ee99e..87c3bf6 100644 --- a/org.glite.lb.proxy/src/lbproxy.c +++ b/org.glite.lb.proxy/src/lbproxy.c @@ -640,3 +640,9 @@ static int decrement_timeout(struct timeval *timeout, struct timeval before, str else return(0); } + +int amIroot(const char *subj, char **fqans) +{ + /* XXX: fake implementation, should not be called from proxy at all */ + abort(); +} -- 1.8.2.3