diff options
| author | Garrett D'Amore <garrett@damore.org> | 2017-01-20 01:19:06 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2017-01-20 01:19:06 -0800 |
| commit | cb7e65fd5004fd24a7c23137e849c2828d2de6c3 (patch) | |
| tree | 3de27fee15b13faf6ef649ea9760f173555b1bdc /tests/sock.c | |
| parent | a26375dc1ec12c41aaedf3e374175d37a1ae84e9 (diff) | |
| download | nng-cb7e65fd5004fd24a7c23137e849c2828d2de6c3.tar.gz nng-cb7e65fd5004fd24a7c23137e849c2828d2de6c3.tar.bz2 nng-cb7e65fd5004fd24a7c23137e849c2828d2de6c3.zip | |
fixes #18 Sockets should be uint32_t's (handles) not pointers.
Diffstat (limited to 'tests/sock.c')
| -rw-r--r-- | tests/sock.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/sock.c b/tests/sock.c index 123354ac..9ceb99cb 100644 --- a/tests/sock.c +++ b/tests/sock.c @@ -20,7 +20,7 @@ Main({ Convey("We are able to open a PAIR socket", { int rv; - nng_socket *sock = NULL; + nng_socket sock = NULL; rv = nng_open(&sock, NNG_PROTO_PAIR); So(rv == 0); @@ -147,7 +147,7 @@ Main({ }) Convey("We can send and receive messages", { - nng_socket *sock2 = NULL; + nng_socket sock2 = NULL; int len = 1; nng_msg *msg; uint64_t second = 1000000; |
