aboutsummaryrefslogtreecommitdiff
path: root/src/nng_compat.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nng_compat.c')
-rw-r--r--src/nng_compat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nng_compat.c b/src/nng_compat.c
index bceabe61..994c1332 100644
--- a/src/nng_compat.c
+++ b/src/nng_compat.c
@@ -663,7 +663,7 @@ init_opts(void)
case NN_SURVEYOR:
switch (options[i].nnopt) {
case NN_SURVEYOR_DEADLINE:
- SETOPT(nng_opt_surveyor_surveytime, 1);
+ SETOPT(NNG_OPT_SURVEYOR_SURVEYTIME, 1);
break;
}
break;