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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment