diff options
Diffstat (limited to 'src/protocol/pubsub0/pub.c')
| -rw-r--r-- | src/protocol/pubsub0/pub.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/protocol/pubsub0/pub.c b/src/protocol/pubsub0/pub.c index 3f4ecea6..aaa22801 100644 --- a/src/protocol/pubsub0/pub.c +++ b/src/protocol/pubsub0/pub.c @@ -274,10 +274,10 @@ pub0_pipe_send_cb(void *arg) } static int -pub0_sock_setopt_raw(void *arg, const void *buf, size_t sz) +pub0_sock_setopt_raw(void *arg, const void *buf, size_t sz, int typ) { pub0_sock *s = arg; - return (nni_setopt_bool(&s->raw, buf, sz)); + return (nni_copyin_bool(&s->raw, buf, sz, typ)); } static int |
