diff options
author | dimitri staessens <dimitri.staessens@ugent.be> | 2017-10-14 08:29:50 +0000 |
---|---|---|
committer | Sander Vrijders <sander.vrijders@ugent.be> | 2017-10-14 08:29:50 +0000 |
commit | 1888c137a8ff315bc549c16740aa727da8c666f5 (patch) | |
tree | 9cd6534cdd79de613e1be76d876d435db8e344b5 /src/lib/dev.c | |
parent | 76ce1f398a6efae7f62b6e786ef94e89be0784c1 (diff) | |
parent | 7a98128e053ccd59203757982f7332ed5e4568ea (diff) | |
download | ouroboros-1888c137a8ff315bc549c16740aa727da8c666f5.tar.gz ouroboros-1888c137a8ff315bc549c16740aa727da8c666f5.zip |
Merged in dstaesse/ouroboros/be-fix-multiblock (pull request #627)
lib: Re-enable multi-block support
Diffstat (limited to 'src/lib/dev.c')
-rw-r--r-- | src/lib/dev.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/dev.c b/src/lib/dev.c index 9cb6f2ed..e6e5b4d4 100644 --- a/src/lib/dev.c +++ b/src/lib/dev.c @@ -1095,6 +1095,8 @@ ssize_t flow_write(int fd, DU_BUFF_TAILSPACE, buf, count); + if (idx < 0) + return idx; pthread_rwlock_rdlock(&ai.lock); } |