diff options
author | dimitri staessens <dimitri.staessens@intec.ugent.be> | 2016-05-12 15:13:48 +0200 |
---|---|---|
committer | dimitri staessens <dimitri.staessens@intec.ugent.be> | 2016-05-12 15:13:48 +0200 |
commit | 0305780cb158daba745e50e3956b6d89c0995f1b (patch) | |
tree | 2feb14d6fd6f6140a32479174ef9f35f9db9c693 | |
parent | d6f20c13da9ef1aec966f2c0594dbf47a51d340e (diff) | |
download | ouroboros-0305780cb158daba745e50e3956b6d89c0995f1b.tar.gz ouroboros-0305780cb158daba745e50e3956b6d89c0995f1b.zip |
dev: fixed wrong bracket placement
-rw-r--r-- | src/lib/dev.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/dev.c b/src/lib/dev.c index 0adc2364..ae27a05f 100644 --- a/src/lib/dev.c +++ b/src/lib/dev.c @@ -425,8 +425,7 @@ ssize_t flow_write(int fd, void * buf, size_t count) if (index == -1) return -1; - if (_ap_instance->flows[fd].oflags & FLOW_O_NONBLOCK) - { + if (_ap_instance->flows[fd].oflags & FLOW_O_NONBLOCK) { if (shm_ap_rbuff_write(_ap_instance->flows[fd].rb, &e) < 0) { shm_release_du_buff(_ap_instance->dum, index); return -EPIPE; |