mirror of
https://github.com/moparisthebest/spdylay
synced 2024-11-11 20:15:04 -05:00
Use assert instead of abort
This commit is contained in:
parent
ba56ed6c48
commit
db04143f32
@ -53,7 +53,7 @@ void spdylay_outbound_item_free(spdylay_outbound_item *item)
|
|||||||
case SPDYLAY_NOOP:
|
case SPDYLAY_NOOP:
|
||||||
/* We don't have any public API to add NOOP, so here is
|
/* We don't have any public API to add NOOP, so here is
|
||||||
unreachable. */
|
unreachable. */
|
||||||
abort();
|
assert(0);
|
||||||
case SPDYLAY_PING:
|
case SPDYLAY_PING:
|
||||||
spdylay_frame_ping_free(&frame->ping);
|
spdylay_frame_ping_free(&frame->ping);
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user