diff options
-rw-r--r-- | keyserver/gpgkeys_hkp.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/keyserver/gpgkeys_hkp.c b/keyserver/gpgkeys_hkp.c index 382bee548..bc2f0447e 100644 --- a/keyserver/gpgkeys_hkp.c +++ b/keyserver/gpgkeys_hkp.c @@ -544,6 +544,8 @@ srv_replace(const char *srvtag, strcat(srvname,opt->host); srvcount=getsrv(srvname,&srvlist); } + else + srvcount = 0; for(srvindex=0 ; srvindex<srvcount && portstr ; srvindex++) { |