mirror of
https://github.com/curl/curl.git
synced 2026-08-24 15:33:37 +03:00
docs: tidy-up scheme references
After this patch `://` schemes are lowercase and enclosed in backticks. Also: - docs/libcurl/libcurl-multi.md: drop a stray C code fence. - docs/libcurl/libcurl-tutorial.md: replace single/double quotes with Markdown markup where applicable. Ref: #21646 Closes #21674
This commit is contained in:
parent
a7bfbc09d4
commit
1fb734bc2d
36 changed files with 83 additions and 85 deletions
|
|
@ -195,7 +195,7 @@ static CURLcode cw_out_cb_write(struct cw_out_ctx *ctx,
|
|||
if(nwritten == CURL_WRITEFUNC_PAUSE) {
|
||||
if(data->conn->scheme->flags & PROTOPT_NONETWORK) {
|
||||
/* Protocols that work without network cannot be paused. This is
|
||||
actually only FILE:// now, and it cannot pause since the transfer is
|
||||
actually only file:// now, and it cannot pause since the transfer is
|
||||
not done using the "normal" procedure. */
|
||||
failf(data, "Write callback asked for PAUSE when not supported");
|
||||
return CURLE_WRITE_ERROR;
|
||||
|
|
|
|||
|
|
@ -697,7 +697,7 @@ static CURLcode cr_in_read(struct Curl_easy *data,
|
|||
case CURL_READFUNC_PAUSE:
|
||||
if(data->conn->scheme->flags & PROTOPT_NONETWORK) {
|
||||
/* protocols that work without network cannot be paused. This is
|
||||
actually only FILE:// now, and it cannot pause since the transfer
|
||||
actually only file:// now, and it cannot pause since the transfer
|
||||
is not done using the "normal" procedure. */
|
||||
failf(data, "Read callback asked for PAUSE when not supported");
|
||||
result = CURLE_READ_ERROR;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue