diff options
author | venaas <venaas> | 2008-07-22 11:40:04 +0000 |
---|---|---|
committer | venaas <venaas@e88ac4ed-0b26-0410-9574-a7f39faa03bf> | 2008-07-22 11:40:04 +0000 |
commit | beaf192ca36acf20b23b77349b332b8590fbedff (patch) | |
tree | 13e5a7f7d6958b3bf98f0e50c482f1c89ca0cc70 /radsecproxy.c | |
parent | e763dab2f7411e4da5028305ef35fcad09bc9ac4 (diff) |
removed some unnecessary variables
git-svn-id: https://svn.testnett.uninett.no/radsecproxy/branches/release-1.1@317 e88ac4ed-0b26-0410-9574-a7f39faa03bf
Diffstat (limited to 'radsecproxy.c')
-rw-r--r-- | radsecproxy.c | 4 |
1 files changed, 0 insertions, 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); |