From: Aleš Křenek Date: Tue, 9 Aug 2005 17:38:00 +0000 (+0000) Subject: better comments X-Git-Tag: glite-lb-server_R_1_2_5~2 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=0431684e17c78c3a255ed09f92786da103fa5333;p=jra1mw.git better comments --- diff --git a/org.glite.lb.server/src/request.c b/org.glite.lb.server/src/request.c index 3ad753b..5546921 100644 --- a/org.glite.lb.server/src/request.c +++ b/org.glite.lb.server/src/request.c @@ -16,7 +16,6 @@ #define UNUSED_VAR #endif -/* XXX: is it OK to assume buf always contains the whole message? */ int handle_request(edg_wll_Context ctx,char *buf) { @@ -25,7 +24,7 @@ handle_request(edg_wll_Context ctx,char *buf) edg_wll_ResetError(ctx); -/* XXX: detect interlogger <= 1.1.1 */ +/* XXX: discard legacy header */ ret = sscanf(buf,"%d %999s\n%d",&x,y,&x); if (ret == 3) { start = strchr(buf,'\n');