diff options
| author | Garrett D'Amore <garrett@damore.org> | 2017-01-09 17:28:29 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2017-01-09 17:28:29 -0800 |
| commit | 4c56a6264b3498c171a465c3542ae0c9d5b9e3f6 (patch) | |
| tree | 030f9d0e76604d8c51a13b02b2ea8dc9c3a123d9 /src | |
| parent | 472a802cfd51ace744fcc73160326e94a891234d (diff) | |
| download | nng-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.c | 2 |
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); } |
