From db04143f324144723fde6da80cb3e68ce3cc8dcd Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Fri, 30 Mar 2012 00:02:42 +0900 Subject: [PATCH] Use assert instead of abort --- lib/spdylay_outbound_item.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/spdylay_outbound_item.c b/lib/spdylay_outbound_item.c index 4115458..239def6 100644 --- a/lib/spdylay_outbound_item.c +++ b/lib/spdylay_outbound_item.c @@ -53,7 +53,7 @@ void spdylay_outbound_item_free(spdylay_outbound_item *item) case SPDYLAY_NOOP: /* We don't have any public API to add NOOP, so here is unreachable. */ - abort(); + assert(0); case SPDYLAY_PING: spdylay_frame_ping_free(&frame->ping); break;