aboutsummaryrefslogtreecommitdiff
path: root/src/or/channel.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2016-11-03 16:06:53 -0400
committerNick Mathewson <nickm@torproject.org>2016-11-03 16:06:53 -0400
commit0533d1421359c6cc106825f48eef781309071f4f (patch)
treec80ff44bf41a80837c23974e1d2b2dfb1f0120b3 /src/or/channel.c
parent272572c3a2203a8a62f4c8c081fea55183f1f426 (diff)
downloadtor-0533d1421359c6cc106825f48eef781309071f4f.tar.gz
tor-0533d1421359c6cc106825f48eef781309071f4f.zip
Replace some assert(1)s with nonfatal_unreached_once().
These were probably supposed to be assert(0).
Diffstat (limited to 'src/or/channel.c')
-rw-r--r--src/or/channel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/channel.c b/src/or/channel.c
index 939b7f93e4..af5810788c 100644
--- a/src/or/channel.c
+++ b/src/or/channel.c
@@ -1738,7 +1738,7 @@ channel_get_cell_queue_entry_size(channel_t *chan, cell_queue_entry_t *q)
rv = get_cell_network_size(chan->wide_circ_ids);
break;
default:
- tor_assert(1);
+ tor_assert_nonfatal_unreached_once();
}
return rv;