From: Zdeněk Šustr Date: Wed, 18 Mar 2009 16:43:32 +0000 (+0000) Subject: Let --other purge jobs in all states except aborted, cleared, cancelled and done... X-Git-Tag: merge_313_6_dst~8 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=247e646ee49081f09aa16d670febf5167faf84c9;p=jra1mw.git Let --other purge jobs in all states except aborted, cleared, cancelled and done, as implied by documentation. --- 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;