summaryrefslogtreecommitdiff
path: root/src/lib/dev.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/dev.c')
-rw-r--r--src/lib/dev.c3
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;