nio

a simple irc client
git clone git@git.kloet.net/nio.git
Download | Log | Files | Refs | README

commit d0edb34808b4c7608ab253d38e707e97e9d32569
parent e75573bcace04cb89b5089596089ac3f4b1038b6
Author: Andrew Kloet <andrew@kloet.net>
Date:   Sat, 28 Mar 2026 23:51:44 -0400

prevent heap corruption by chadd return index

Diffstat:
Mnio.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/nio.c b/nio.c @@ -370,7 +370,7 @@ chadd(const char *name, int joined) ch = nch; nch++; tdrawbar(); - return nch; + return nch - 1; } static int