From: Daniel Gustafsson Date: Thu, 13 Sep 2018 08:48:21 +0000 (+0200) Subject: sendf: use failf() rather than Curl_failf() X-Git-Tag: curl-7_62_0~181 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=daa12c6eb36b26031a80e2bfe61453b4c25f53f7;p=curl sendf: use failf() rather than Curl_failf() The failf() macro is the name used for invoking Curl_failf(). While there isn't a way to turn off failf like there is for infof, but it's still a good idea to use the macro. Reviewed-by: Daniel Stenberg --- diff --git a/lib/krb5.c b/lib/krb5.c index 46c56085b..e51dcd1c6 100644 --- a/lib/krb5.c +++ b/lib/krb5.c @@ -206,7 +206,7 @@ krb5_auth(void *app_data, struct connectdata *conn) if(maj != GSS_S_COMPLETE) { gss_release_name(&min, &gssname); if(service == srv_host) { - Curl_failf(data, "Error importing service name %s@%s", service, host); + failf(data, "Error importing service name %s@%s", service, host); return AUTH_ERROR; } service = srv_host; @@ -291,8 +291,7 @@ krb5_auth(void *app_data, struct connectdata *conn) (unsigned char **)&_gssresp.value, &_gssresp.length); if(result) { - Curl_failf(data, "base64-decoding: %s", - curl_easy_strerror(result)); + failf(data, "base64-decoding: %s", curl_easy_strerror(result)); ret = AUTH_CONTINUE; break; }