diff options
author | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2013-07-31 07:02:04 +0200 |
---|---|---|
committer | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2013-07-31 07:02:04 +0200 |
commit | c39b1a665114ad2a8231f0ea69f9c730cc434070 (patch) | |
tree | a03159f663962070345ba892ff8a67e8da9a6d35 /src/Handle.cc | |
parent | fd192780b998f46dac8d192ba68666bb5d8db73d (diff) |
Added a few forgotten references.
Diffstat (limited to 'src/Handle.cc')
-rw-r--r-- | src/Handle.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Handle.cc b/src/Handle.cc index 11f64d6..67eb412 100644 --- a/src/Handle.cc +++ b/src/Handle.cc @@ -51,7 +51,7 @@ ssize_t Balau::Handle::forceRead(void * _buf, size_t count, Events::BaseEvent * try { r = read(buf, count); } - catch (EAgain e) { + catch (EAgain & e) { if (evt && evt->gotSignal()) return total; Task::operationYield(e.getEvent()); @@ -78,7 +78,7 @@ ssize_t Balau::Handle::forceWrite(const void * _buf, size_t count, Events::BaseE try { r = write(buf, count); } - catch (EAgain e) { + catch (EAgain & e) { if (evt && evt->gotSignal()) return total; Task::operationYield(e.getEvent()); |