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:
32be348
)
Get test 2032 working when using valgrind
author
Fabian Keil
<fk@fabiankeil.de>
Sun, 18 Nov 2012 21:42:04 +0000
(22:42 +0100)
committer
Kamil Dudka
<kdudka@redhat.com>
Mon, 19 Nov 2012 12:36:28 +0000
(13:36 +0100)
If curl_multi_fdset() sets maxfd to -1, the socket detection
loop is skipped and thus !found_new_socket is no cause for alarm.
tests/libtest/libntlmconnect.c
patch
|
blob
|
history
diff --git
a/tests/libtest/libntlmconnect.c
b/tests/libtest/libntlmconnect.c
index cef33069a69d3d17d882835a38166b141a109b11..fd64e5f84b540c60e170234abc88273beab58a0f 100644
(file)
--- a/
tests/libtest/libntlmconnect.c
+++ b/
tests/libtest/libntlmconnect.c
@@
-207,7
+207,7
@@
int test(char *url)
}
if (state == NeedSocketForNewHandle) {
- if(!found_new_socket) {
+ if(
maxfd != -1 &&
!found_new_socket) {
fprintf(stderr, "Warning: socket did not open immediately for new "
"handle (trying again)\n");
continue;