mirror of
https://github.com/curl/curl.git
synced 2026-06-18 14:15:38 +03:00
don't display or act on state changes that doesn't actually change state
This commit is contained in:
parent
befc30bc55
commit
1128029599
1 changed files with 5 additions and 1 deletions
|
|
@ -197,9 +197,13 @@ static void multistate(struct Curl_one_easy *easy, CURLMstate state)
|
|||
"COMPLETED",
|
||||
"CANCELLED"
|
||||
};
|
||||
CURLMstate oldstate = easy->state;
|
||||
long index = -1;
|
||||
#endif
|
||||
CURLMstate oldstate = easy->state;
|
||||
|
||||
if(oldstate == state)
|
||||
/* don't bother when the new state is the same as the old state */
|
||||
return;
|
||||
|
||||
easy->state = state;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue