small fix - ii - irc it, simple FIFO based irc client
 (HTM) git clone git://git.suckless.org/ii
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 500e03ff90495cafa7428a2afc3765452d8e2b34
 (DIR) parent 7a1e7d1a7a764bd6b35993d1fdbbaa92c3f37406
 (HTM) Author: Nico Golde <nion@suckless.org>
       Date:   Mon, 29 Jan 2007 13:35:55 +0100
       
       small fix
       Diffstat:
         M ii.c                                |       2 +-
       
       1 file changed, 1 insertion(+), 1 deletion(-)
       ---
 (DIR) 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;