diff options
Diffstat (limited to 'src/protocol/reqrep/req.c')
| -rw-r--r-- | src/protocol/reqrep/req.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/protocol/reqrep/req.c b/src/protocol/reqrep/req.c index 3514047b..b0225e90 100644 --- a/src/protocol/reqrep/req.c +++ b/src/protocol/reqrep/req.c @@ -264,7 +264,7 @@ nni_req_setopt(void *arg, int opt, const void *buf, size_t sz) break; case NNG_OPT_RAW: nni_mutex_enter(&req->mx); - rv = nni_setopt_int(&req->raw, buf, sz); + rv = nni_setopt_int(&req->raw, buf, sz, 0, 1); nni_mutex_exit(&req->mx); break; default: |
