aboutsummaryrefslogtreecommitdiff
path: root/src/protocol/reqrep/rep.c
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2017-03-07 11:41:27 -0800
committerGarrett D'Amore <garrett@damore.org>2017-03-07 11:41:27 -0800
commitf5c259eec0cd3fa5cd623e159cbfec83b4a500d5 (patch)
tree623e47d37a45968c9e06dc58223bf75abbabd6f0 /src/protocol/reqrep/rep.c
parentf397fec0e0524ff73ee501642a5dca5cf22064e2 (diff)
downloadnng-f5c259eec0cd3fa5cd623e159cbfec83b4a500d5.tar.gz
nng-f5c259eec0cd3fa5cd623e159cbfec83b4a500d5.tar.bz2
nng-f5c259eec0cd3fa5cd623e159cbfec83b4a500d5.zip
Req/Rep now callback driven.
Diffstat (limited to 'src/protocol/reqrep/rep.c')
-rw-r--r--src/protocol/reqrep/rep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/protocol/reqrep/rep.c b/src/protocol/reqrep/rep.c
index 154a40f7..2c658ae8 100644
--- a/src/protocol/reqrep/rep.c
+++ b/src/protocol/reqrep/rep.c
@@ -267,7 +267,7 @@ nni_rep_pipe_getq_cb(void *arg)
}
rp->aio_send.a_msg = rp->aio_getq.a_msg;
- rp->aio_send.a_msg = NULL;
+ rp->aio_getq.a_msg = NULL;
nni_pipe_aio_send(rp->pipe, &rp->aio_send);
}