ii

My fork of https://tools.suckless.org/ii/
git clone https://git.inz.fi/ii
Log | Files | Refs | README | LICENSE

commit 44587107ff4d7f229081fd2e7e8ab4fc7a340541
parent 500e03ff90495cafa7428a2afc3765452d8e2b34
Author: Nico Golde <nion@suckless.org>
Date:   Mon, 29 Jan 2007 13:48:15 +0100

right fix at the wrong place reverted
Diffstat:
Mii.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ii.c b/ii.c @@ -245,8 +245,8 @@ static void proc_channels_input(Channel *c, char *buf) } switch (buf[1]) { case 'j': - if(!(p = strchr(&buf[3], ' '))) return; - *p = 0; + p = strchr(&buf[3], ' '); + if(p) *p = 0; if((buf[3]=='#')||(buf[3]=='&')||(buf[3]=='+')||(buf[3]=='!')){ snprintf(message, PIPE_BUF, "JOIN %s\r\n", &buf[3]); add_channel(&buf[3]);