summaryrefslogtreecommitdiff
path: root/src/transports/utils/streamhdr.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/transports/utils/streamhdr.c')
-rw-r--r--src/transports/utils/streamhdr.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/transports/utils/streamhdr.c b/src/transports/utils/streamhdr.c
index 6af8061..42c3b98 100644
--- a/src/transports/utils/streamhdr.c
+++ b/src/transports/utils/streamhdr.c
@@ -1,5 +1,6 @@
/*
Copyright (c) 2013 Martin Sustrik All rights reserved.
+ Copyright 2017 Garrett D'Amore <garrett@damore.org>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"),
@@ -290,9 +291,7 @@ invalidhdr:
switch (src) {
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);
+ /* It's safe to ignore usock event when we are stopping. */
return;
case NN_STREAMHDR_SRC_TIMER: