• Werner Koch's avatar
    Fix format string errors and some missing error case initialization. · af5979a4
    Werner Koch authored
    * 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: 's avatarWerner Koch <wk@gnupg.org>
    af5979a4
http.c 77.8 KB