mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02: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:
parent
65d6da865c
commit
2812ab7d6a
1 changed files with 2 additions and 0 deletions
|
@ -544,6 +544,8 @@ srv_replace(const char *srvtag,
|
||||||
strcat(srvname,opt->host);
|
strcat(srvname,opt->host);
|
||||||
srvcount=getsrv(srvname,&srvlist);
|
srvcount=getsrv(srvname,&srvlist);
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
srvcount = 0;
|
||||||
|
|
||||||
for(srvindex=0 ; srvindex<srvcount && portstr ; srvindex++)
|
for(srvindex=0 ; srvindex<srvcount && portstr ; srvindex++)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue