aboutsummaryrefslogtreecommitdiff
path: root/src/irc.c
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2026-03-30 03:25:35 -0400
committerB. Watson <urchlay@slackware.uk>2026-03-30 03:25:35 -0400
commitddfe09f3b8336630dd0f87e446306bc1e012f20b (patch)
treeecffd52c482e987099b7a03383ec62763009e4fb /src/irc.c
parent28c0a056ce806a357371d7102fb25d72e358ff09 (diff)
downloadfujinet-chat-ddfe09f3b8336630dd0f87e446306bc1e012f20b.tar.gz
Trim down nio API (no parameter passing), now at 4852 free.
Diffstat (limited to 'src/irc.c')
-rw-r--r--src/irc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/irc.c b/src/irc.c
index 5dd3916..3a7d901 100644
--- a/src/irc.c
+++ b/src/irc.c
@@ -739,7 +739,7 @@ int irc_read(void) {
ind_net_rx();
if(rxbuflen > 0) {
- err = nread(rx_buf, rxbuflen);
+ err = nread_rxbuf();
if(err != 1) {
ind_net_down();
print_errnum();