Changeset View
Changeset View
Standalone View
Standalone View
dirmngr/ks-engine-hkp.c
Context not available. | |||||
hi = hosttable[idx]; | hi = hosttable[idx]; | ||||
if (hi->pool) | if (hi->pool) | ||||
{ | { | ||||
/* Deal with the pool name before selecting a host. */ | |||||
if (r_poolname && hi->cname) | |||||
{ | |||||
*r_poolname = xtrystrdup (hi->cname); | |||||
if (!*r_poolname) | |||||
return gpg_error_from_syserror (); | |||||
} | |||||
/* If the currently selected host is now marked dead, force a | /* If the currently selected host is now marked dead, force a | ||||
re-selection . */ | re-selection . */ | ||||
if (force_reselect) | if (force_reselect) | ||||
Context not available. | |||||
*r_httpflags |= HTTP_FLAG_IGNORE_IPv6; | *r_httpflags |= HTTP_FLAG_IGNORE_IPv6; | ||||
} | } | ||||
if (r_poolname && hi->pool && hi->cname) | |||||
{ | |||||
*r_poolname = xtrystrdup (hi->cname); | |||||
if (!*r_poolname) | |||||
return gpg_error_from_syserror (); | |||||
} | |||||
*r_host = xtrystrdup (hi->name); | *r_host = xtrystrdup (hi->name); | ||||
if (!*r_host) | if (!*r_host) | ||||
{ | { | ||||
Context not available. |