mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-18 14:17:03 +01:00
dirmngr: Initialize http status code.
* dirmngr/ks-action.c (ks_action_search): Initialize 'http_status' as it is unused if LDAP is used to search for keys. -- This amends 6ac57a48. Signed-off-by: Justus Winter <justus@g10code.com>
This commit is contained in:
parent
b5cd68852d
commit
71726b627d
@ -162,7 +162,7 @@ ks_action_search (ctrl_t ctrl, uri_item_t keyservers,
|
||||
{
|
||||
int is_http = uri->parsed_uri->is_http;
|
||||
int is_ldap = 0;
|
||||
unsigned int http_status;
|
||||
unsigned int http_status = 0;
|
||||
#if USE_LDAP
|
||||
is_ldap = (strcmp (uri->parsed_uri->scheme, "ldap") == 0
|
||||
|| strcmp (uri->parsed_uri->scheme, "ldaps") == 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user