From b93d5759c9b39ff153a14d474d800cd981f7dc97 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Sun, 22 Jan 2017 02:32:32 -0800 Subject: Event notification via pollable FDs verified working. --- src/protocol/pipeline/pull.c | 2 +- src/protocol/pipeline/push.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/protocol/pipeline') diff --git a/src/protocol/pipeline/pull.c b/src/protocol/pipeline/pull.c index 5b3efd4d..6f2d716b 100644 --- a/src/protocol/pipeline/pull.c +++ b/src/protocol/pipeline/pull.c @@ -155,7 +155,7 @@ nni_proto nni_pull_proto = { .proto_self = NNG_PROTO_PULL, .proto_peer = NNG_PROTO_PUSH, .proto_name = "pull", - .proto_flags = NNI_PROTO_FLAG_RECV, + .proto_flags = NNI_PROTO_FLAG_RCV, .proto_pipe_ops = &nni_pull_pipe_ops, .proto_sock_ops = &nni_pull_sock_ops, }; diff --git a/src/protocol/pipeline/push.c b/src/protocol/pipeline/push.c index 8794d84f..3c3164d5 100644 --- a/src/protocol/pipeline/push.c +++ b/src/protocol/pipeline/push.c @@ -313,7 +313,7 @@ nni_proto nni_push_proto = { .proto_self = NNG_PROTO_PUSH, .proto_peer = NNG_PROTO_PULL, .proto_name = "push", - .proto_flags = NNI_PROTO_FLAG_SEND, + .proto_flags = NNI_PROTO_FLAG_SND, .proto_pipe_ops = &nni_push_pipe_ops, .proto_sock_ops = &nni_push_sock_ops, }; -- cgit v1.2.3-70-g09d2