Skip to content
Snippets Groups Projects
Commit 513e587c authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

curl_multi_wait: fix revents

Commit 6d30f8eb didn't work properly. First, it used the wrong
array index, but this fix also:

1 - only does the copying if indeed there was any activity

2 - makes sure to properly translate between internal and external
bitfields, which are not guaranteed to match

Reported-by: Evgeny Turnaev
parent 6ed2bcc5
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment