diff options
Diffstat (limited to 'src/protocol/reqrep/rep.c')
| -rw-r--r-- | src/protocol/reqrep/rep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/protocol/reqrep/rep.c b/src/protocol/reqrep/rep.c index 7623bd2c..75cdaa2e 100644 --- a/src/protocol/reqrep/rep.c +++ b/src/protocol/reqrep/rep.c @@ -417,7 +417,7 @@ nni_rep_recvfilter(void *arg, nni_msg *msg) return (NULL); } rep->btrace_len = len; - memcpy(rep->btrace, 0, len); + memcpy(rep->btrace, header, len); nni_msg_trim_header(msg, len); nni_mtx_unlock(&rep->mx); return (msg); |
