diff options
author | Andrew W. Nosenko <andrew.w.nosenko@gmail.com> | 2012-04-04 15:38:39 +0300 |
---|---|---|
committer | Martin Sustrik <sustrik@250bpm.com> | 2012-04-06 12:41:04 +0200 |
commit | 91267446ef621adfa35c9f90df7754ecf5299e4d (patch) | |
tree | 1d8e4de49cddd6e20d5a6f1e859cd7ef6ab8ff85 /src | |
parent | 421394768c7d00a3971a06c7d6794145b4c785b4 (diff) |
Fix bogus typo in xs::pipe_t::flush()
* src/pipe.cpp (flush): Fix bogus typo: '&&' was used instead of '||'
Diffstat (limited to 'src')
-rw-r--r-- | src/pipe.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pipe.cpp b/src/pipe.cpp index 51ecedc..77893d2 100644 --- a/src/pipe.cpp +++ b/src/pipe.cpp @@ -191,7 +191,7 @@ void xs::pipe_t::rollback () void xs::pipe_t::flush () { // If terminate() was already called do nothing. - if (state == terminated && state == double_terminated) + if (state == terminated || state == double_terminated) return; // The peer does not exist anymore at this point. |