fake implementation of amIroot, due to linking wrt. recent changes in server
authorAleš Křenek <ljocha@ics.muni.cz>
Wed, 20 May 2009 11:03:08 +0000 (11:03 +0000)
committerAleš Křenek <ljocha@ics.muni.cz>
Wed, 20 May 2009 11:03:08 +0000 (11:03 +0000)
(should not be called in proxy at all)

org.glite.lb.proxy/src/lbproxy.c

index c6ee99e..87c3bf6 100644 (file)
@@ -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();
+}