diff options
Diffstat (limited to 'src/protocol/pipeline0/pull.c')
| -rw-r--r-- | src/protocol/pipeline0/pull.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/protocol/pipeline0/pull.c b/src/protocol/pipeline0/pull.c index 5e0a9d00..fec07c39 100644 --- a/src/protocol/pipeline0/pull.c +++ b/src/protocol/pipeline0/pull.c @@ -219,11 +219,14 @@ static nni_proto_pipe_ops pull0_pipe_ops = { static nni_proto_sock_option pull0_sock_options[] = { { .pso_name = NNG_OPT_RAW, + .pso_type = NNI_TYPE_BOOL, .pso_getopt = pull0_sock_getopt_raw, .pso_setopt = pull0_sock_setopt_raw, }, // terminate list - { NULL, NULL, NULL }, + { + .pso_name = NULL, + }, }; static nni_proto_sock_ops pull0_sock_ops = { |
