From: Michal Voců Date: Mon, 25 Oct 2010 19:39:30 +0000 (+0000) Subject: fix sink behaviour for performance tests X-Git-Tag: gridsite-core_R_1_7_8~7 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=703034bf29e4cad9a7d5efa76fa7d0d991e626f7;p=jra1mw.git fix sink behaviour for performance tests --- 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 ) {