diff options
Diffstat (limited to 'src/zmq.cpp')
-rw-r--r-- | src/zmq.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/zmq.cpp b/src/zmq.cpp index a9430d4..80720ae 100644 --- a/src/zmq.cpp +++ b/src/zmq.cpp @@ -315,7 +315,8 @@ int zmq_send (void *s_, zmq_msg_t *msg_, int flags_) int zmq_flush (void *s_) { - return (((zmq::socket_base_t*) s_)->flush ()); + errno = ENOTSUP; + return -1; } int zmq_recv (void *s_, zmq_msg_t *msg_, int flags_) |