summaryrefslogtreecommitdiff
path: root/src/zmq.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/zmq.cpp')
-rw-r--r--src/zmq.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zmq.cpp b/src/zmq.cpp
index 1a74f86..e9bfc53 100644
--- a/src/zmq.cpp
+++ b/src/zmq.cpp
@@ -269,7 +269,7 @@ void *zmq_init (int io_threads_)
int zmq_term (void *ctx_)
{
- int rc = ((zmq::ctx_t*) ctx_)->term ();
+ int rc = ((zmq::ctx_t*) ctx_)->terminate ();
int en = errno;
if (!ctx_) {