Revert "Problem: deprecated use and reference of zmq_term"

This commit is contained in:
Pieter Hintjens
2016-02-01 22:41:51 +01:00
parent d44a8ccddb
commit 1708bfefb7
26 changed files with 53 additions and 53 deletions

View File

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