small fix

This commit is contained in:
Nico Golde 2007-01-29 13:35:55 +01:00
parent 7a1e7d1a7a
commit 500e03ff90

2
ii.c
View File

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