diff options
| author | Garrett D'Amore <garrett@damore.org> | 2017-08-14 15:27:38 -0700 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2017-08-14 15:27:38 -0700 |
| commit | 63479c2938cbc80c1aac9367cb95564f6e7540e1 (patch) | |
| tree | 495584b637f73b593d25f01577eeaa944477f159 /tests/event.c | |
| parent | 343417234aa3fd86e8ae0b56ae500a1ed3411cfc (diff) | |
| download | nng-63479c2938cbc80c1aac9367cb95564f6e7540e1.tar.gz nng-63479c2938cbc80c1aac9367cb95564f6e7540e1.tar.bz2 nng-63479c2938cbc80c1aac9367cb95564f6e7540e1.zip | |
fixes #63 NNG_FLAG_SYNCH should be the default
Also enables creating endpoints that are idle (first part of
endpoint options API) and shutting down endpoints.
Diffstat (limited to 'tests/event.c')
| -rw-r--r-- | tests/event.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/event.c b/tests/event.c index d6fadc5a..8d7a969f 100644 --- a/tests/event.c +++ b/tests/event.c @@ -99,8 +99,8 @@ TestMain("Event Handling", { nng_close(sock2); }); - So(nng_listen(sock1, addr, NULL, NNG_FLAG_SYNCH) == 0); - So(nng_dial(sock2, addr, NULL, NNG_FLAG_SYNCH) == 0); + So(nng_listen(sock1, addr, NULL, 0) == 0); + So(nng_dial(sock2, addr, NULL, 0) == 0); // Let everything connect. nng_usleep(100000); |
