From ba8cbe2bd52199ff64270901f2981894a9b553d2 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Thu, 29 Dec 2016 08:03:16 -0800 Subject: Move option helpers to their own file. --- src/protocol/reqrep/req.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/protocol') 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: -- cgit v1.2.3-70-g09d2