mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-29 00:32:34 +08:00
perf: fix typo
This commit is contained in:
parent
10533a560b
commit
66470b2c55
@ -47,7 +47,7 @@ int main (int argc, char *argv [])
|
|||||||
|
|
||||||
ctx = zmq_init (1);
|
ctx = zmq_init (1);
|
||||||
if (!ctx) {
|
if (!ctx) {
|
||||||
printf ("error in zmq_send: %s\n", zmq_strerror (errno));
|
printf ("error in zmq_init: %s\n", zmq_strerror (errno));
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -44,7 +44,7 @@ int main (int argc, char *argv [])
|
|||||||
|
|
||||||
ctx = zmq_init (1);
|
ctx = zmq_init (1);
|
||||||
if (!ctx) {
|
if (!ctx) {
|
||||||
printf ("error in zmq_recv: %s\n", zmq_strerror (errno));
|
printf ("error in zmq_init: %s\n", zmq_strerror (errno));
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user