From beaf192ca36acf20b23b77349b332b8590fbedff Mon Sep 17 00:00:00 2001 From: venaas Date: Tue, 22 Jul 2008 11:40:04 +0000 Subject: removed some unnecessary variables git-svn-id: https://svn.testnett.uninett.no/radsecproxy/branches/release-1.1@317 e88ac4ed-0b26-0410-9574-a7f39faa03bf --- radsecproxy.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/radsecproxy.c b/radsecproxy.c index 52962af..8c86772 100644 --- a/radsecproxy.c +++ b/radsecproxy.c @@ -62,8 +62,6 @@ struct list *clconfs, *srvconfs, *realms, *tlsconfs, *rewriteconfs; static int client_udp_count = 0; static int client_tls_count = 0; -static int server_udp_count = 0; -static int server_tls_count = 0; static struct addrinfo *srcudpres = NULL; static struct addrinfo *srctcpres = NULL; @@ -3046,7 +3044,6 @@ void confserver_cb(struct gconffile **cf, char *block, char *opt, char *val) { if (type && !strcasecmp(type, "udp")) { conf->type = 'U'; - server_udp_count++; if (!conf->port) conf->port = stringcopy(DEFAULT_UDP_PORT, 0); } else if (type && !strcasecmp(type, "tls")) { @@ -3058,7 +3055,6 @@ void confserver_cb(struct gconffile **cf, char *block, char *opt, char *val) { if (!conf->port) conf->port = stringcopy(DEFAULT_TLS_PORT, 0); conf->type = 'T'; - server_tls_count++; } else debugx(1, DBG_ERR, "error in block %s, type must be set to UDP or TLS", block); free(type); -- cgit v1.1