mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-10 01:48:00 +00:00
windows: Fix control-flow error in select_result().
When making select_result() return void (a2fb1d9
), I removed a "return"
at the end of the FD_CLOSE case, causing a fallthrough into FD_ACCEPT
with hilarious (segfaulting) consequences. Re-instate the "return".
This commit is contained in:
parent
0d57b8a4d9
commit
c7b9f846d9
@ -1765,6 +1765,7 @@ void select_result(WPARAM wParam, LPARAM lParam)
|
||||
plug_closing(s->plug, NULL, 0, 0);
|
||||
}
|
||||
} while (ret > 0);
|
||||
return;
|
||||
case FD_ACCEPT:
|
||||
{
|
||||
#ifdef NO_IPV6
|
||||
|
Loading…
Reference in New Issue
Block a user