From e136d923b7060ef64d44264f88e49057e6638f31 Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Tue, 22 Sep 2009 11:52:35 +0200 Subject: ZMQ-specific error codes added --- src/pub.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/pub.cpp') diff --git a/src/pub.cpp b/src/pub.cpp index faaa9aa..a403157 100644 --- a/src/pub.cpp +++ b/src/pub.cpp @@ -152,7 +152,7 @@ int zmq::pub_t::xflush () int zmq::pub_t::xrecv (struct zmq_msg_t *msg_, int flags_) { - errno = EFAULT; + errno = ENOTSUP; return -1; } -- cgit v1.2.3