mirror of
https://github.com/zeromq/libzmq.git
synced 2025-10-24 17:30:47 +02:00
Revert "Revert "Problem: deprecated use and reference of zmq_term""
This commit is contained in:
@@ -104,7 +104,7 @@ int main (void)
|
||||
rc = zmq_close (to);
|
||||
assert (rc == 0);
|
||||
|
||||
rc = zmq_term (context);
|
||||
rc = zmq_ctx_term (context);
|
||||
assert (rc == 0);
|
||||
|
||||
// TEST 2
|
||||
@@ -169,7 +169,7 @@ int main (void)
|
||||
rc = zmq_close (to);
|
||||
assert (rc == 0);
|
||||
|
||||
rc = zmq_term (context);
|
||||
rc = zmq_ctx_term (context);
|
||||
assert (rc == 0);
|
||||
|
||||
// TEST 3
|
||||
@@ -242,7 +242,7 @@ int main (void)
|
||||
rc = zmq_close (frontend);
|
||||
assert (rc == 0);
|
||||
|
||||
rc = zmq_term (context);
|
||||
rc = zmq_ctx_term (context);
|
||||
assert (rc == 0);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user