From d3bd35ab49ad74528fd9e34cce9016d74dd91943 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Fri, 28 Dec 2018 21:07:58 -0800 Subject: fixes #831 Unify option structures, o_type is unused --- src/protocol/reqrep0/xrep.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/protocol/reqrep0/xrep.c') diff --git a/src/protocol/reqrep0/xrep.c b/src/protocol/reqrep0/xrep.c index d89722d6..09c11cda 100644 --- a/src/protocol/reqrep0/xrep.c +++ b/src/protocol/reqrep0/xrep.c @@ -408,10 +408,9 @@ static nni_proto_pipe_ops xrep0_pipe_ops = { .pipe_stop = xrep0_pipe_stop, }; -static nni_proto_option xrep0_sock_options[] = { +static nni_option xrep0_sock_options[] = { { .o_name = NNG_OPT_MAXTTL, - .o_type = NNI_TYPE_INT32, .o_get = xrep0_sock_get_maxttl, .o_set = xrep0_sock_set_maxttl, }, -- cgit v1.2.3-70-g09d2