From a828ff01fea83e0fb1c893b79973dd39971881b8 Mon Sep 17 00:00:00 2001 From: Jeff Hill Date: Thu, 8 Jun 2000 17:56:03 +0000 Subject: [PATCH] minor optimization --- src/rsrv/camsgtask.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/rsrv/camsgtask.c b/src/rsrv/camsgtask.c index 55a0181d5..6ef8af32a 100644 --- a/src/rsrv/camsgtask.c +++ b/src/rsrv/camsgtask.c @@ -52,7 +52,6 @@ void camsgtask (struct client *client) { int nchars; int status; - int true = TRUE; client->tid = threadGetIdSelf (); @@ -93,7 +92,7 @@ void camsgtask (struct client *client) * if there is a partial message * align it with the start of the buffer */ - if (client->recv.cnt >= client->recv.stk) { + if (client->recv.cnt > client->recv.stk) { unsigned bytes_left; char *pbuf;