Revert "Revert "Problem: deprecated use and reference of zmq_term""

This commit is contained in:
Pieter Hintjens
2016-02-01 23:00:06 +01:00
parent c143a7d397
commit 44c6b0484e
26 changed files with 53 additions and 53 deletions

View File

@@ -50,7 +50,7 @@ int main (void)
// Child process
// Immediately close parent sockets and context
zmq_close (pull);
zmq_term (ctx);
zmq_ctx_term (ctx);
// Create new context, socket, connect and send some messages
void *child_ctx = zmq_ctx_new ();