summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvenaas <venaas>2008-07-25 11:07:46 +0000
committervenaas <venaas@e88ac4ed-0b26-0410-9574-a7f39faa03bf>2008-07-25 11:07:46 +0000
commit43cbbbc2f88bbbda7f0c923e9ffcbf5069f8906b (patch)
tree00c6ec0d70bf6048ed9261e5bd23226fa3f8dfe8
parentad2e513b0eb8ed8b469f96cf8896a90f09e28c73 (diff)
removing harmless compiler warning
git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@327 e88ac4ed-0b26-0410-9574-a7f39faa03bf
-rw-r--r--radsecproxy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/radsecproxy.c b/radsecproxy.c
index 6947f51..af63053 100644
--- a/radsecproxy.c
+++ b/radsecproxy.c
@@ -217,7 +217,7 @@ static int verify_cb(int ok, X509_STORE_CTX *ctx) {
int resolvepeer(struct clsrvconf *conf, int ai_flags) {
struct addrinfo hints, *addrinfo, *res;
char *slash, *s;
- int plen;
+ int plen = 0;
slash = conf->host ? strchr(conf->host, '/') : NULL;
if (slash) {