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

@@ -130,9 +130,9 @@ int main (int argc, char *argv [])
return -1;
}
rc = zmq_term (ctx);
rc = zmq_ctx_term (ctx);
if (rc != 0) {
printf ("error in zmq_term: %s\n", zmq_strerror (errno));
printf ("error in zmq_ctx_term: %s\n", zmq_strerror (errno));
return -1;
}