use stat->resubmitted only as flag (bool)
authorMiloš Mulač <mulac@civ.zcu.cz>
Tue, 22 May 2007 08:12:00 +0000 (08:12 +0000)
committerMiloš Mulač <mulac@civ.zcu.cz>
Tue, 22 May 2007 08:12:00 +0000 (08:12 +0000)
- prevents gSoap complaining about values not beeing 0 or 1

org.glite.lb.server/src/process_event.c

index 19b4dec..1bce002 100644 (file)
@@ -481,7 +481,7 @@ static int processEvent_glite(intJobStat *js, edg_wll_Event *e, int ev_seq, int
                                                e->enQueued.host,
                                                e->enQueued.src_instance);
                                        if (e->enQueued.source == EDG_WLL_SOURCE_LOG_MONITOR)
-                                               js->pub.resubmitted += 1;
+                                               js->pub.resubmitted = 1;
                                } else {
                                        js->pub.location = location_string(
                                                edg_wll_SourceToString(e->enQueued.source),