summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2017-10-12 21:47:43 -0700
committerGarrett D'Amore <garrett@damore.org>2017-10-12 21:47:43 -0700
commit98809cdf1d071ab556d7cbbc86e81afdb1c2855f (patch)
treebced79c3b6baa250a9018b53379e1e0fd2425d52
parentda8d3efbea677a0dbdb9f2a9013dc96ecdca9ea5 (diff)
downloadnanomsg-98809cdf1d071ab556d7cbbc86e81afdb1c2855f.tar.gz
Streamhdr assertion possible due to incorrect assumption.
This is pretty much the same situation as #894.
-rw-r--r--src/transports/utils/streamhdr.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/transports/utils/streamhdr.c b/src/transports/utils/streamhdr.c
index 42c3b98..1ce1c05 100644
--- a/src/transports/utils/streamhdr.c
+++ b/src/transports/utils/streamhdr.c
@@ -262,7 +262,6 @@ invalidhdr:
case NN_STREAMHDR_SRC_USOCK:
/* It's safe to ignore usock event when we are stopping, but there
is only a subset of events that are plausible. */
- nn_assert (type == NN_USOCK_ERROR);
return;
case NN_STREAMHDR_SRC_TIMER: