mirror of
https://github.com/curl/curl.git
synced 2026-07-24 13:57:16 +03:00
parent
ea1eaa6f7c
commit
0217aca9f3
3 changed files with 7 additions and 7 deletions
|
|
@ -48,7 +48,7 @@ bool Curl_auth_gsasl_is_supported(struct Curl_easy *data,
|
|||
|
||||
res = gsasl_init(&gsasl->ctx);
|
||||
if(res != GSASL_OK) {
|
||||
failf(data, "gsasl init: %s\n", gsasl_strerror(res));
|
||||
failf(data, "gsasl init: %s", gsasl_strerror(res));
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
|
@ -73,7 +73,7 @@ CURLcode Curl_auth_gsasl_start(struct Curl_easy *data,
|
|||
gsasl_property_set(gsasl->client, GSASL_AUTHID, userp);
|
||||
#if GSASL_VERSION_NUMBER >= 0x010b00
|
||||
if(res != GSASL_OK) {
|
||||
failf(data, "setting AUTHID failed: %s\n", gsasl_strerror(res));
|
||||
failf(data, "setting AUTHID failed: %s", gsasl_strerror(res));
|
||||
return CURLE_OUT_OF_MEMORY;
|
||||
}
|
||||
#endif
|
||||
|
|
@ -84,7 +84,7 @@ CURLcode Curl_auth_gsasl_start(struct Curl_easy *data,
|
|||
gsasl_property_set(gsasl->client, GSASL_PASSWORD, passwdp);
|
||||
#if GSASL_VERSION_NUMBER >= 0x010b00
|
||||
if(res != GSASL_OK) {
|
||||
failf(data, "setting PASSWORD failed: %s\n", gsasl_strerror(res));
|
||||
failf(data, "setting PASSWORD failed: %s", gsasl_strerror(res));
|
||||
return CURLE_OUT_OF_MEMORY;
|
||||
}
|
||||
#endif
|
||||
|
|
@ -107,7 +107,7 @@ CURLcode Curl_auth_gsasl_token(struct Curl_easy *data,
|
|||
(const char *) Curl_bufref_ptr(chlg), Curl_bufref_len(chlg),
|
||||
&response, &outlen);
|
||||
if(res != GSASL_OK && res != GSASL_NEEDS_MORE) {
|
||||
failf(data, "GSASL step: %s\n", gsasl_strerror(res));
|
||||
failf(data, "GSASL step: %s", gsasl_strerror(res));
|
||||
return CURLE_BAD_CONTENT_ENCODING;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1888,7 +1888,7 @@ static CURLcode read_pkt_to_send(void *userp,
|
|||
/* we add the amount of data bytes to the flow windows */
|
||||
int rv = nghttp3_conn_add_write_offset(ctx->h3conn, stream_id, ndatalen);
|
||||
if(rv) {
|
||||
failf(x->data, "nghttp3_conn_add_write_offset returned error: %s\n",
|
||||
failf(x->data, "nghttp3_conn_add_write_offset returned error: %s",
|
||||
nghttp3_strerror(rv));
|
||||
return CURLE_SEND_ERROR;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1661,14 +1661,14 @@ static CURLcode h3_send_streams(struct Curl_cfilter *cf,
|
|||
ctx->q.last_io = curlx_now();
|
||||
rv = nghttp3_conn_add_write_offset(ctx->h3.conn, s->id, acked_len);
|
||||
if(rv && rv != NGHTTP3_ERR_STREAM_NOT_FOUND) {
|
||||
failf(data, "nghttp3_conn_add_write_offset returned error: %s\n",
|
||||
failf(data, "nghttp3_conn_add_write_offset returned error: %s",
|
||||
nghttp3_strerror(rv));
|
||||
result = CURLE_SEND_ERROR;
|
||||
goto out;
|
||||
}
|
||||
rv = nghttp3_conn_add_ack_offset(ctx->h3.conn, s->id, acked_len);
|
||||
if(rv && rv != NGHTTP3_ERR_STREAM_NOT_FOUND) {
|
||||
failf(data, "nghttp3_conn_add_ack_offset returned error: %s\n",
|
||||
failf(data, "nghttp3_conn_add_ack_offset returned error: %s",
|
||||
nghttp3_strerror(rv));
|
||||
result = CURLE_SEND_ERROR;
|
||||
goto out;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue