]> granicus.if.org Git - curl/commit
singlesocket: fix the 'sincebefore' placement
authorDaniel Stenberg <daniel@haxx.se>
Tue, 19 Feb 2019 14:56:54 +0000 (15:56 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 20 Feb 2019 07:15:32 +0000 (08:15 +0100)
commitafc00e047c773faeaa60a5f86a246cbbeeba5819
tree993fa74d0cc07a337210e6215d0b2e267dfa2bce
parentb08898fb299ad173167631bd4aa9c95458d76f0e
singlesocket: fix the 'sincebefore' placement

The variable wasn't properly reset within the loop and thus could remain
set for sockets that hadn't been set before and miss notifying the app.

This is a follow-up to 4c35574 (shipped in curl 7.64.0)

Reported-by: buzo-ffm on github
Detected-by: Jan Alexander Steffens
Fixes #3585
Closes #3589
lib/multi.c