diff options
author | Daniel Stenberg <daniel@haxx.se> | 2021-02-16 08:19:24 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2021-02-16 16:42:46 +0100 |
commit | 94719e7285bb3d63d67129e2529def8f1bf1c5a8 (patch) | |
tree | a39ee448425020f9732cc4f461a265f2aaf37e79 /lib/easy.c | |
parent | cdb630655db39ff1a319ace871e75389072deeb9 (diff) | |
download | curl-94719e7285bb3d63d67129e2529def8f1bf1c5a8.tar.gz |
multi: rename the multi transfer states
While working on documenting the states it dawned on me that step one is
to use more descriptive names on the states. This also changes prefix on
the states to make them shorter in the source.
State names NOT ending with *ing are transitional ones.
Closes #6612
Diffstat (limited to 'lib/easy.c')
-rw-r--r-- | lib/easy.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/easy.c b/lib/easy.c index fd4123bed..921da4d0b 100644 --- a/lib/easy.c +++ b/lib/easy.c @@ -1034,8 +1034,8 @@ CURLcode curl_easy_pause(struct Curl_easy *data, int action) /* Unpause parts in active mime tree. */ if((k->keepon & ~newstate & KEEP_SEND_PAUSE) && - (data->mstate == CURLM_STATE_PERFORM || - data->mstate == CURLM_STATE_TOOFAST) && + (data->mstate == MSTATE_PERFORMING || + data->mstate == MSTATE_RATELIMITING) && data->state.fread_func == (curl_read_callback) Curl_mime_read) { Curl_mime_unpause(data->state.in); } |