ii

git clone https://orangeshoelaces.net/git/ii.git

da44526c53ea5527376da72f9b63542e4e196352

Author: nion@localhost on 06/16/2006

Committer: nion@localhost on 06/16/2006

kacke

Stats

ii.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/ii.c b/ii.c
index 795b7f3..1b738b8 100644
--- a/ii.c
+++ b/ii.c
@@ -301,7 +301,7 @@ static void proc_server_cmd(char *buf)
 {
 	char *argv[TOK_LAST], *cmd, *p;
 	int i;
-	if(!buf)
+	if(!buf || strlen(buf)<1)
 		return;
 
 	for(i = 0; i < TOK_LAST; i++)