diff options
Diffstat (limited to 'perf')
-rw-r--r-- | perf/local_lat.cpp | 2 | ||||
-rw-r--r-- | perf/local_thr.cpp | 2 | ||||
-rw-r--r-- | perf/remote_lat.cpp | 2 | ||||
-rw-r--r-- | perf/remote_thr.cpp | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/perf/local_lat.cpp b/perf/local_lat.cpp index 4cfb155..0628a97 100644 --- a/perf/local_lat.cpp +++ b/perf/local_lat.cpp @@ -42,7 +42,7 @@ int main (int argc, char *argv []) message_size = atoi (argv [2]); roundtrip_count = atoi (argv [3]); - ctx = zmq_init (1, 1, 0); + ctx = zmq_init (1); if (!ctx) { printf ("error in zmq_init: %s\n", zmq_strerror (errno)); return -1; diff --git a/perf/local_thr.cpp b/perf/local_thr.cpp index 42b3ec7..8480ebd 100644 --- a/perf/local_thr.cpp +++ b/perf/local_thr.cpp @@ -45,7 +45,7 @@ int main (int argc, char *argv []) message_size = atoi (argv [2]); message_count = atoi (argv [3]); - ctx = zmq_init (1, 1, 0); + ctx = zmq_init (1); if (!ctx) { printf ("error in zmq_send: %s\n", zmq_strerror (errno)); return -1; diff --git a/perf/remote_lat.cpp b/perf/remote_lat.cpp index 1a408f1..cd465f7 100644 --- a/perf/remote_lat.cpp +++ b/perf/remote_lat.cpp @@ -46,7 +46,7 @@ int main (int argc, char *argv []) message_size = atoi (argv [2]); roundtrip_count = atoi (argv [3]); - ctx = zmq_init (1, 1, 0); + ctx = zmq_init (1); if (!ctx) { printf ("error in zmq_init: %s\n", zmq_strerror (errno)); return -1; diff --git a/perf/remote_thr.cpp b/perf/remote_thr.cpp index 99fa482..002aaf2 100644 --- a/perf/remote_thr.cpp +++ b/perf/remote_thr.cpp @@ -42,7 +42,7 @@ int main (int argc, char *argv []) message_size = atoi (argv [2]); message_count = atoi (argv [3]); - ctx = zmq_init (1, 1, 0); + ctx = zmq_init (1); if (!ctx) { printf ("error in zmq_recv: %s\n", zmq_strerror (errno)); return -1; |