1
0
mirror of git://git.gnupg.org/gnupg.git synced 2025-01-21 14:47:03 +01:00

Last fix for the SRV record patches.

* keyserver/gpgkeys_hkp.c (srv_replace): Make sure SRVCOUNT is
always initialized.
--

See commit 5c557a51.
This commit is contained in:
Werner Koch 2012-12-20 20:28:21 +01:00
parent 65d6da865c
commit 2812ab7d6a

View File

@ -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++)
{