removing harmless compiler warning
authorvenaas <venaas>
Fri, 25 Jul 2008 11:07:46 +0000 (11:07 +0000)
committervenaas <venaas@e88ac4ed-0b26-0410-9574-a7f39faa03bf>
Fri, 25 Jul 2008 11:07:46 +0000 (11:07 +0000)
git-svn-id: https://svn.testnett.uninett.no/radsecproxy/branches/release-1.1@327 e88ac4ed-0b26-0410-9574-a7f39faa03bf

radsecproxy.c

index 935b192..b17464a 100644 (file)
@@ -142,7 +142,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) {