diff options
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, |
