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/trantest.h | |
| 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/trantest.h')
| -rw-r--r-- | tests/trantest.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/trantest.h b/tests/trantest.h index 23081c35..fab3371d 100644 --- a/tests/trantest.h +++ b/tests/trantest.h @@ -19,8 +19,8 @@ typedef struct { char addr[NNG_MAXADDRLEN+1]; - nng_socket *reqsock; - nng_socket *repsock; + nng_socket reqsock; + nng_socket repsock; nni_tran *tran; } trantest; |
