From 4c4403721f81ff932b8c5e15eb9ec34cbf23e4b7 Mon Sep 17 00:00:00 2001 From: "nion@localhost" Date: Sat, 17 Jun 2006 21:59:08 +0200 Subject: [PATCH] ein libcall weniger --- ii.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ii.c b/ii.c index 1b738b8..8256ecc 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 || strlen(buf)<1) + if(!buf || *buf=='\0') return; for(i = 0; i < TOK_LAST; i++)