projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
befc30b
)
don't display or act on state changes that doesn't actually change state
author
Daniel Stenberg
<daniel@haxx.se>
Sat, 7 Oct 2006 21:04:57 +0000
(21:04 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Sat, 7 Oct 2006 21:04:57 +0000
(21:04 +0000)
lib/multi.c
patch
|
blob
|
history
diff --git
a/lib/multi.c
b/lib/multi.c
index
620c082
..
ad6bebc
100644
(file)
--- a/
lib/multi.c
+++ b/
lib/multi.c
@@
-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;