From 3badd3809645529046513f8ee2835f7949cbcde9 Mon Sep 17 00:00:00 2001 From: venaas Date: Fri, 9 May 2008 09:15:30 +0000 Subject: added catgconf utility git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@250 e88ac4ed-0b26-0410-9574-a7f39faa03bf --- radsecproxy.c | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'radsecproxy.c') diff --git a/radsecproxy.c b/radsecproxy.c index bd8c272..14a23c5 100644 --- a/radsecproxy.c +++ b/radsecproxy.c @@ -2754,15 +2754,6 @@ void addrealm(char *value, char **servers, char **accservers, char *message) { debug(DBG_DBG, "addrealm: added realm %s", value); } -struct gconffile *openconfigfile(const char *file) { - struct gconffile *cf = NULL; - - if (!pushgconffile(&cf, file)) - debugx(1, DBG_ERR, "could not read config file %s\n%s", file, strerror(errno)); - debug(DBG_DBG, "reading config file %s", file); - return cf; -} - int addmatchcertattr(struct clsrvconf *conf, char *matchcertattr) { char *v; regex_t **r; @@ -3215,8 +3206,7 @@ void getargs(int argc, char **argv, uint8_t *foreground, uint8_t *pretend, uint8 return; usage: - debug(DBG_ERR, "Usage:\n%s [ -c configfile ] [ -d debuglevel ] [ -f ] [ -p ] [ -v ]", argv[0]); - exit(1); + debugx(1, DBG_ERR, "Usage:\n%s [ -c configfile ] [ -d debuglevel ] [ -f ] [ -p ] [ -v ]", argv[0]); } #ifdef SYS_SOLARIS9 -- cgit v1.1