MINOR: stream-int: replace si_cant_put() with si_rx_room_{blk,rdy}()
Remaining calls to si_cant_put() were all for lack of room and were
turned to si_rx_room_blk(). A few places where SI_FL_RXBLK_ROOM was
cleared by hand were converted to si_rx_room_rdy().
The now unused si_cant_put() function was removed.
diff --git a/src/stick_table.c b/src/stick_table.c
index 5e55b7a..593b989 100644
--- a/src/stick_table.c
+++ b/src/stick_table.c
@@ -3049,7 +3049,7 @@
chunk_appendf(msg, "# contents not dumped due to insufficient privileges\n");
if (ci_putchk(si_ic(si), msg) == -1) {
- si_cant_put(si);
+ si_rx_room_blk(si);
return 0;
}
@@ -3123,7 +3123,7 @@
chunk_appendf(msg, "\n");
if (ci_putchk(si_ic(si), msg) == -1) {
- si_cant_put(si);
+ si_rx_room_blk(si);
return 0;
}