From 703034bf29e4cad9a7d5efa76fa7d0d991e626f7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Michal=20Voc=C5=AF?= Date: Mon, 25 Oct 2010 19:39:30 +0000 Subject: [PATCH] fix sink behaviour for performance tests --- org.glite.lb.server/src/stored_master.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/org.glite.lb.server/src/stored_master.c b/org.glite.lb.server/src/stored_master.c index b265435..3cf02c0 100644 --- a/org.glite.lb.server/src/stored_master.c +++ b/org.glite.lb.server/src/stored_master.c @@ -118,11 +118,13 @@ int edg_wll_StoreProto(edg_wll_Context ctx) if (ret < 0) return edg_wll_Error(ctx,NULL,NULL); #ifdef LB_PERF - if (sink_mode == GLITE_LB_SINK_PARSE) glite_wll_perftest_consumeEventIlMsg(buf); - else + if (sink_mode == GLITE_LB_SINK_PARSE) glite_wll_perftest_consumeEventIlMsg(buf); + else #endif - glite_common_log(LOG_CATEGORY_LB_SERVER_REQUEST, LOG_PRIORITY_DEBUG,buf); - handle_il_message(ctx, buf); + { + glite_common_log(LOG_CATEGORY_LB_SERVER_REQUEST, LOG_PRIORITY_DEBUG,buf); + handle_il_message(ctx, buf); + } free(buf); if ( (len = create_reply(ctx, &buf)) > 0 ) { -- 1.8.2.3