summaryrefslogtreecommitdiff
path: root/src/protocol/pipeline0/pull.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/protocol/pipeline0/pull.c')
-rw-r--r--src/protocol/pipeline0/pull.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/protocol/pipeline0/pull.c b/src/protocol/pipeline0/pull.c
index d8f4641f..9aa7bea9 100644
--- a/src/protocol/pipeline0/pull.c
+++ b/src/protocol/pipeline0/pull.c
@@ -181,10 +181,10 @@ pull0_sock_close(void *arg)
}
static int
-pull0_sock_setopt_raw(void *arg, const void *buf, size_t sz)
+pull0_sock_setopt_raw(void *arg, const void *buf, size_t sz, int typ)
{
pull0_sock *s = arg;
- return (nni_setopt_bool(&s->raw, buf, sz));
+ return (nni_copyin_bool(&s->raw, buf, sz, typ));
}
static int