Skip to content

Commit

Permalink
remove extra logging
Browse files Browse the repository at this point in the history
  • Loading branch information
jthomas43 committed Feb 21, 2024
1 parent 4935054 commit c168623
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/udx.c
Original file line number Diff line number Diff line change
Expand Up @@ -918,9 +918,9 @@ udx__confirm_packet (udx_packet_t *pkt) {
void
udx__unshift_packet (udx_packet_t *pkt, udx_socket_t *socket) {

// don't need early return once all pkt types are covered
if (pkt->type == UDX_PACKET_TYPE_SOCKET_SEND || pkt->type == UDX_PACKET_TYPE_STREAM_RELAY) {
udx__fifo_undo(&socket->send_queue);
return;
}

if (pkt->type == UDX_PACKET_TYPE_STREAM_WRITE) {
Expand Down Expand Up @@ -980,7 +980,7 @@ udx__unshift_packet (udx_packet_t *pkt, udx_socket_t *socket) {
return;
}

return; // should be unreachable
return;
}

// rack recovery implemented using https://datatracker.ietf.org/doc/rfc8985/
Expand Down

0 comments on commit c168623

Please sign in to comment.