diff options
| author | Garrett D'Amore <garrett@damore.org> | 2017-06-28 23:10:33 -0700 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2017-06-28 23:10:33 -0700 |
| commit | d0c0c9969ab5552889f91d09db6dbf6b79f6705c (patch) | |
| tree | cee4e0e2426af804a20b12a6de454b9409e8acdf /src/protocol/reqrep/rep.c | |
| parent | fe3c9705072ac8cafecdf2ea6bca4c26f9464824 (diff) | |
| download | nng-d0c0c9969ab5552889f91d09db6dbf6b79f6705c.tar.gz nng-d0c0c9969ab5552889f91d09db6dbf6b79f6705c.tar.bz2 nng-d0c0c9969ab5552889f91d09db6dbf6b79f6705c.zip | |
We don't need pipe_hold or pipe_rele anymore.
Diffstat (limited to 'src/protocol/reqrep/rep.c')
| -rw-r--r-- | src/protocol/reqrep/rep.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/protocol/reqrep/rep.c b/src/protocol/reqrep/rep.c index 38bf082a..036904b1 100644 --- a/src/protocol/reqrep/rep.c +++ b/src/protocol/reqrep/rep.c @@ -373,8 +373,7 @@ nni_rep_pipe_recv_cb(void *arg) malformed: // Failures here are bad enough to warrant to dropping the conn. nni_msg_free(msg); - nni_pipe_close(rp->pipe); - nni_pipe_rele(rp->pipe); + nni_pipe_stop(rp->pipe); } |
