diff --git a/keyserver/gpgkeys_hkp.c b/keyserver/gpgkeys_hkp.c index ff41f971e..d90027a97 100644 --- a/keyserver/gpgkeys_hkp.c +++ b/keyserver/gpgkeys_hkp.c @@ -547,6 +547,8 @@ srv_replace(const char *srvtag, strcat(srvname,opt->host); srvcount=getsrv(srvname,&srvlist); } + else + srvcount = 0; for(srvindex=0 ; srvindex