summaryrefslogtreecommitdiff
path: root/src/protocol/reqrep/rep.c
diff options
context:
space:
mode:
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);
}