ii

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

commit 500e03ff90495cafa7428a2afc3765452d8e2b34
parent 7a1e7d1a7a764bd6b35993d1fdbbaa92c3f37406
Author: Nico Golde <nion@suckless.org>
Date:   Mon, 29 Jan 2007 13:35:55 +0100

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

diff --git a/ii.c b/ii.c @@ -318,7 +318,7 @@ static void proc_server_cmd(char *buf) <crlf> ::= CR LF */ if(buf[0] == ':') { /* check prefix */ - p = strchr(buf, ' '); + if (!(p = strchr(buf, ' '))) return; *p = 0; for(++p; *p == ' '; p++); cmd = p;