From cc30b1cbaecb5727b957d0a17f04b3da7aec96da Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ale=C5=A1=20K=C5=99enek?= Date: Wed, 10 Sep 2008 12:21:42 +0000 Subject: [PATCH] yet another support for NS queries --- org.glite.lb.server/src/query.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/org.glite.lb.server/src/query.c b/org.glite.lb.server/src/query.c index 6b59714..c888126 100644 --- a/org.glite.lb.server/src/query.c +++ b/org.glite.lb.server/src/query.c @@ -1505,6 +1505,13 @@ int match_status(edg_wll_Context ctx, const edg_wll_JobStat *stat, const edg_wll if ( conds[i][j].op == EDG_WLL_QUERY_OP_EQUAL ) goto or_satisfied; } else if ( conds[i][j].op == EDG_WLL_QUERY_OP_UNEQUAL ) goto or_satisfied; } + case EDG_WLL_QUERY_ATTR_NETWORK_SERVER: + if ( stat->network_server ) + { + if ( !strcmp(conds[i][j].value.c, stat->network_server) ) { + if ( conds[i][j].op == EDG_WLL_QUERY_OP_EQUAL ) goto or_satisfied; + } else if ( conds[i][j].op == EDG_WLL_QUERY_OP_UNEQUAL ) goto or_satisfied; + } break; case EDG_WLL_QUERY_ATTR_JOBID: if ( !stat->jobId ) -- 1.8.2.3