diff options
| author | Garrett D'Amore <garrett@damore.org> | 2019-02-26 21:39:13 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2019-02-26 21:39:13 -0800 |
| commit | 8562cbbc7d533c09cfc4dafb34c6475e9733ba00 (patch) | |
| tree | ff97fa5bcb1f4f97dbf4f7e10958043b1caf9d65 /tests | |
| parent | 5803db08e55ed9287dc59b3adc281b89c52c530f (diff) | |
| download | nng-8562cbbc7d533c09cfc4dafb34c6475e9733ba00.tar.gz nng-8562cbbc7d533c09cfc4dafb34c6475e9733ba00.tar.bz2 nng-8562cbbc7d533c09cfc4dafb34c6475e9733ba00.zip | |
fixes #894 nng_pipe_notify could use nng_pipe_ev typedef instead of int
This follow up fixes the test code for above.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/pipe.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/pipe.c b/tests/pipe.c index d3630289..71e9be67 100644 --- a/tests/pipe.c +++ b/tests/pipe.c @@ -59,7 +59,7 @@ expect(struct testcase *t, int *vp, int v) } void -notify(nng_pipe p, int act, void *arg) +notify(nng_pipe p, nng_pipe_ev act, void *arg) { struct testcase *t = arg; @@ -97,7 +97,7 @@ notify(nng_pipe p, int act, void *arg) } void -reject(nng_pipe p, int act, void *arg) +reject(nng_pipe p, nng_pipe_ev act, void *arg) { struct testcase *t = arg; notify(p, act, arg); |
