From 247e646ee49081f09aa16d670febf5167faf84c9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Zden=C4=9Bk=20=C5=A0ustr?= Date: Wed, 18 Mar 2009 16:43:32 +0000 Subject: [PATCH] Let --other purge jobs in all states except aborted, cleared, cancelled and done, as implied by documentation. --- org.glite.lb.utils/src/purge.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/org.glite.lb.utils/src/purge.c b/org.glite.lb.utils/src/purge.c index 29214d2..4248528 100644 --- a/org.glite.lb.utils/src/purge.c +++ b/org.glite.lb.utils/src/purge.c @@ -168,7 +168,15 @@ int main(int argc,char *argv[]) usage(me); return 1; } - if (timeout >= 0) request->timeout[EDG_WLL_PURGE_JOBSTAT_OTHER]= timeout; + if (timeout >= 0) + for (i = 0 ; itimeout[i]= timeout; + } break; case 'm': server = optarg; break; -- 1.8.2.3