summaryrefslogtreecommitdiff
path: root/include/ouroboros/flow.h
diff options
context:
space:
mode:
authordimitri staessens <dimitri.staessens@intec.ugent.be>2016-03-30 13:48:57 +0200
committerdimitri staessens <dimitri.staessens@intec.ugent.be>2016-03-30 13:48:57 +0200
commitdd20c175f10c04bf5abd0ca764ededaa7a4ac621 (patch)
treeb2e48a478924a69759a315fa0d505627760fa64f /include/ouroboros/flow.h
parent8dfa06b867baac47eabc6af3549c2c6a276670b7 (diff)
downloadouroboros-dd20c175f10c04bf5abd0ca764ededaa7a4ac621.tar.gz
ouroboros-dd20c175f10c04bf5abd0ca764ededaa7a4ac621.zip
lib: further fixes to flow API
FLOW_O_INVALID now defined in terms of conflicting options bugfix in setopts
Diffstat (limited to 'include/ouroboros/flow.h')
-rw-r--r--include/ouroboros/flow.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ouroboros/flow.h b/include/ouroboros/flow.h
index 456a85c7..7d8c311e 100644
--- a/include/ouroboros/flow.h
+++ b/include/ouroboros/flow.h
@@ -36,7 +36,7 @@
#define FLOW_O_NONBLOCK 00004000
#define FLOW_O_DEFAULT 00000002
-#define FLOW_O_INVALID 00037777
+#define FLOW_O_INVALID (FLOW_O_WRONLY | FLOW_O_RDWR)
enum flow_state {
FLOW_INIT = 0,