diff options
| author | Garrett D'Amore <garrett@damore.org> | 2017-10-31 00:47:21 -0700 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2017-10-31 00:47:21 -0700 |
| commit | 475f4c8abfdd9c88b585105c48839f51d7523d57 (patch) | |
| tree | f6fa693cd20d1f419ec5a1af0b60ffb798b68b4c /src/protocol/survey | |
| parent | b92320b9afe3771465514286db6ee6746ba512d8 (diff) | |
| download | nng-475f4c8abfdd9c88b585105c48839f51d7523d57.tar.gz nng-475f4c8abfdd9c88b585105c48839f51d7523d57.tar.bz2 nng-475f4c8abfdd9c88b585105c48839f51d7523d57.zip | |
fixes #137 Remove public access to numeric protocols
Diffstat (limited to 'src/protocol/survey')
| -rw-r--r-- | src/protocol/survey/respond.c | 4 | ||||
| -rw-r--r-- | src/protocol/survey/survey.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/protocol/survey/respond.c b/src/protocol/survey/respond.c index dbce0751..94730be6 100644 --- a/src/protocol/survey/respond.c +++ b/src/protocol/survey/respond.c @@ -486,8 +486,8 @@ static nni_proto_sock_ops resp_sock_ops = { static nni_proto resp_proto = { .proto_version = NNI_PROTOCOL_VERSION, - .proto_self = { NNG_PROTO_RESPONDENT_V0, "respondent" }, - .proto_peer = { NNG_PROTO_SURVEYOR_V0, "surveyor" }, + .proto_self = { NNI_PROTO_RESPONDENT_V0, "respondent" }, + .proto_peer = { NNI_PROTO_SURVEYOR_V0, "surveyor" }, .proto_flags = NNI_PROTO_FLAG_SNDRCV, .proto_sock_ops = &resp_sock_ops, .proto_pipe_ops = &resp_pipe_ops, diff --git a/src/protocol/survey/survey.c b/src/protocol/survey/survey.c index f44cd63a..9dcd6664 100644 --- a/src/protocol/survey/survey.c +++ b/src/protocol/survey/survey.c @@ -461,8 +461,8 @@ static nni_proto_sock_ops surv_sock_ops = { static nni_proto surv_proto = { .proto_version = NNI_PROTOCOL_VERSION, - .proto_self = { NNG_PROTO_SURVEYOR_V0, "surveyor" }, - .proto_peer = { NNG_PROTO_RESPONDENT_V0, "respondent" }, + .proto_self = { NNI_PROTO_SURVEYOR_V0, "surveyor" }, + .proto_peer = { NNI_PROTO_RESPONDENT_V0, "respondent" }, .proto_flags = NNI_PROTO_FLAG_SNDRCV, .proto_sock_ops = &surv_sock_ops, .proto_pipe_ops = &surv_pipe_ops, |
