diff --git a/lib/spdylay_session.c b/lib/spdylay_session.c index f25dfb04..e9d96fbd 100644 --- a/lib/spdylay_session.c +++ b/lib/spdylay_session.c @@ -966,8 +966,6 @@ static ssize_t spdylay_session_prep_frame(spdylay_session *session, } else { return r; } - } else if(r < 0) { - return r; } frame->syn_stream.slot = slot_index; }