diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2017-05-18 14:48:00 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2017-05-18 14:48:00 +0200 |
commit | 5358c9fbc25f9e587be82bf5a12e5c4007fd2a1f (patch) | |
tree | 3ef100e25e7aa3a2c1c164ad6f7773b2f25e1dd0 /msvc-common | |
parent | 01ad5707bf37f914e9d609b97bd660439b2c44c4 (diff) |
Fix bug
Diffstat (limited to 'msvc-common')
-rw-r--r-- | msvc-common/msvc-filter.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/msvc-common/msvc-filter.cxx b/msvc-common/msvc-filter.cxx index 9146760..63c1fd1 100644 --- a/msvc-common/msvc-filter.cxx +++ b/msvc-common/msvc-filter.cxx @@ -323,7 +323,7 @@ try // Proxy the data if requested. // - if (FD_ISSET (isp.fd (), &rd)) + if (isp.is_open () && FD_ISSET (isp.fd (), &rd)) { for (;;) { @@ -349,7 +349,7 @@ try // Read & filter. // - if (FD_ISSET (isf.fd (), &rd)) + if (isf.is_open () && FD_ISSET (isf.fd (), &rd)) { for (;;) { |