diff options
author | Daniel Gustafsson <daniel@yesql.se> | 2018-09-13 10:48:21 +0200 |
---|---|---|
committer | Daniel Gustafsson <daniel@yesql.se> | 2018-09-13 10:48:21 +0200 |
commit | daa12c6eb36b26031a80e2bfe61453b4c25f53f7 (patch) | |
tree | 535a7aca33de3e2b851b6c5836ce3f0497d6f47e /lib | |
parent | e7ee2f29238702f9d3d028baad7a5f1e23b43636 (diff) | |
download | curl-daa12c6eb36b26031a80e2bfe61453b4c25f53f7.tar.gz |
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 <daniel@haxx.se>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/krb5.c | 5 |
1 files changed, 2 insertions, 3 deletions
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; } |