diff options
author | Werner Koch <wk@gnupg.org> | 2017-01-23 16:32:44 +0100 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2017-01-23 16:33:01 +0100 |
commit | af5979a42b9468ffe0f3ac6de5a77d982c5cf8a0 (patch) | |
tree | 783da2ea7d5f6d964dbb0ed9b233c86e27c70f84 /dirmngr/ks-engine-hkp.c | |
parent | dirmngr: On SIGHUP mark all keyservers alive. (diff) | |
download | gnupg2-af5979a42b9468ffe0f3ac6de5a77d982c5cf8a0.tar.xz gnupg2-af5979a42b9468ffe0f3ac6de5a77d982c5cf8a0.zip |
Fix format string errors and some missing error case initialization.
* common/logging.c (do_logv): Remove extra parentheses in comparison.
* dirmngr/dns-stuff.c (resolve_addr_libdns): Init RES so that
dns_res_close is given a defined value in the error case.
* dirmngr/http.c (cookie_read, cookie_write) [HTTP_USE_NTBTLS]: Fix
format string char.
* dirmngr/ks-engine-hkp.c (ks_hkp_help): Remove duplicate "const".
* dirmngr/ks-engine-http.c (ks_http_help): Ditto.
* dirmngr/ks-engine-kdns.c (ks_kdns_help): Ditto.
* dirmngr/ks-engine-ldap.c (ks_ldap_help): Ditto.
* scd/app-p15.c (send_keypairinfo, do_getattr): Fix format string
char.
* tools/gpgconf-comp.c (gpg_agent_runtime_change): Init PID for the
error case.
(scdaemon_runtime_change): Ditto.
(dirmngr_runtime_change): Ditto.
* tools/gpgconf.c (query_swdb): Init VALUE_SIZE_UL.
Signed-off-by: Werner Koch <wk@gnupg.org>
Diffstat (limited to 'dirmngr/ks-engine-hkp.c')
-rw-r--r-- | dirmngr/ks-engine-hkp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dirmngr/ks-engine-hkp.c b/dirmngr/ks-engine-hkp.c index 9de62674a..45965cecc 100644 --- a/dirmngr/ks-engine-hkp.c +++ b/dirmngr/ks-engine-hkp.c @@ -851,7 +851,7 @@ ks_hkp_print_hosttable (ctrl_t ctrl) gpg_error_t ks_hkp_help (ctrl_t ctrl, parsed_uri_t uri) { - const char const data[] = + const char data[] = "Handler for HKP URLs:\n" " hkp://\n" #if HTTP_USE_GNUTLS || HTTP_USE_NTBTLS |