mirror of
https://github.com/zeromq/libzmq.git
synced 2025-10-22 08:02:09 +02:00
Problem: perf use deprecated zmq_term
Solution: replace all occurrences with `zmq_ctx_term`
This commit is contained in:
@@ -232,9 +232,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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user