Commit 11280295 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

don't display or act on state changes that doesn't actually change state

parent befc30bc
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -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;