diff options
| author | Garrett D'Amore <garrett@damore.org> | 2016-12-29 08:03:16 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2016-12-29 08:03:16 -0800 |
| commit | ba8cbe2bd52199ff64270901f2981894a9b553d2 (patch) | |
| tree | 4cd75be6adeed292efc9d1087bec8123b31c809d /src/protocol | |
| parent | 4b53b1e31a93af8c739ba555970cb88d73063bce (diff) | |
| download | nng-ba8cbe2bd52199ff64270901f2981894a9b553d2.tar.gz nng-ba8cbe2bd52199ff64270901f2981894a9b553d2.tar.bz2 nng-ba8cbe2bd52199ff64270901f2981894a9b553d2.zip | |
Move option helpers to their own file.
Diffstat (limited to 'src/protocol')
| -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: |
