summaryrefslogtreecommitdiff
path: root/src/pub.cpp
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@fastmq.commkdir>2009-09-22 11:52:35 +0200
committerMartin Sustrik <sustrik@fastmq.commkdir>2009-09-22 11:52:35 +0200
commite136d923b7060ef64d44264f88e49057e6638f31 (patch)
tree695c496b8a016eb04967a52279ef1a0958cf3a51 /src/pub.cpp
parentcc8136896d30890efb24aadc2d3058652aa43d45 (diff)
ZMQ-specific error codes added
Diffstat (limited to 'src/pub.cpp')
-rw-r--r--src/pub.cpp2
1 files changed, 1 insertions, 1 deletions
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;
}