aboutsummaryrefslogtreecommitdiff
path: root/src/protocol/pair/pair_v0.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/protocol/pair/pair_v0.c')
-rw-r--r--src/protocol/pair/pair_v0.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/protocol/pair/pair_v0.c b/src/protocol/pair/pair_v0.c
index 486ce43b..277d5cb1 100644
--- a/src/protocol/pair/pair_v0.c
+++ b/src/protocol/pair/pair_v0.c
@@ -250,7 +250,7 @@ pair0_sock_getopt(void *arg, int opt, void *buf, size_t *szp)
int rv;
if (opt == nng_optid_raw) {
- rv = nni_getopt_int(&s->raw, buf, szp);
+ rv = nni_getopt_int(s->raw, buf, szp);
} else {
rv = NNG_ENOTSUP;
}