aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2017-01-09 17:28:29 -0800
committerGarrett D'Amore <garrett@damore.org>2017-01-09 17:28:29 -0800
commit4c56a6264b3498c171a465c3542ae0c9d5b9e3f6 (patch)
tree030f9d0e76604d8c51a13b02b2ea8dc9c3a123d9 /src
parent472a802cfd51ace744fcc73160326e94a891234d (diff)
downloadnng-4c56a6264b3498c171a465c3542ae0c9d5b9e3f6.tar.gz
nng-4c56a6264b3498c171a465c3542ae0c9d5b9e3f6.tar.bz2
nng-4c56a6264b3498c171a465c3542ae0c9d5b9e3f6.zip
Probably this fixes the hang -- something was clearing the error condition.
Diffstat (limited to 'src')
-rw-r--r--src/protocol/survey/survey.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/protocol/survey/survey.c b/src/protocol/survey/survey.c
index 3870a9ef..d8ab065c 100644
--- a/src/protocol/survey/survey.c
+++ b/src/protocol/survey/survey.c
@@ -205,7 +205,7 @@ nni_surv_pipe_receiver(void *arg)
}
}
nni_msgq_signal(uwq, &ppipe->sigclose);
- nni_msgq_set_error(ppipe->sendq, NNG_ECLOSED);
+ nni_msgq_signal(ppipe->sendq, &ppipe->sigclose);
nni_pipe_close(npipe);
}