invalid string assignments
authorMiloš Mulač <mulac@civ.zcu.cz>
Fri, 11 Sep 2009 13:55:04 +0000 (13:55 +0000)
committerMiloš Mulač <mulac@civ.zcu.cz>
Fri, 11 Sep 2009 13:55:04 +0000 (13:55 +0000)
org.glite.lb.state-machine/src/process_event.c
org.glite.lb.state-machine/src/process_event_cream.c

index deb0449..00ac728 100644 (file)
@@ -28,6 +28,7 @@
 static int processEvent_glite(intJobStat *js, edg_wll_Event *e, int ev_seq, int strict, char **errstring);
 int processEvent_PBS(intJobStat *js, edg_wll_Event *e, int ev_seq, int strict, char **errstring);
 int processEvent_Condor(intJobStat *js, edg_wll_Event *e, int ev_seq, int strict, char **errstring);
+int processEvent_Cream(intJobStat *js, edg_wll_Event *e, int ev_seq, int strict, char **errstring);
 
 int add_stringlist(char ***lptr, const char *new_item);
 
index 631522d..0e55371 100644 (file)
@@ -100,7 +100,7 @@ int processEvent_Cream(intJobStat *js, edg_wll_Event *e, int ev_seq, int strict,
 
                        }
                        if (USABLE_DATA(res)) {
-                               js->pub.cream_reason = e->CREAMCall.reason;
+                               rep(js->pub.cream_reason, e->CREAMCall.reason);
                        }
                        break;
 
@@ -113,7 +113,7 @@ int processEvent_Cream(intJobStat *js, edg_wll_Event *e, int ev_seq, int strict,
                                }
                        }
                        if (USABLE_DATA(res)) {
-                               js->pub.cream_node = e->CREAMRunning.node;
+                               rep(js->pub.cream_node, e->CREAMRunning.node);
                        }
                        break;
                case EDG_WLL_EVENT_CREAMREALLYRUNNING:
@@ -138,7 +138,7 @@ int processEvent_Cream(intJobStat *js, edg_wll_Event *e, int ev_seq, int strict,
                        if (USABLE_DATA(res)) {
                                js->pub.cream_done_code = e->CREAMDone.status_code;
                                js->pub.cream_exit_code = e->CREAMDone.exit_code;
-                               js->pub.cream_reason = e->CREAMDone.reason;
+                               rep(js->pub.cream_reason, e->CREAMDone.reason);
                        }
                        break;
                case EDG_WLL_EVENT_CREAMCANCEL:
@@ -149,7 +149,7 @@ int processEvent_Cream(intJobStat *js, edg_wll_Event *e, int ev_seq, int strict,
                                }
                        }
                        if (USABLE_DATA(res)) {
-                               js->pub.cream_reason = e->CREAMCancel.reason;
+                               rep(js->pub.cream_reason, e->CREAMCancel.reason);
                        }
                        break;
                case EDG_WLL_EVENT_CREAMABORT:
@@ -158,7 +158,7 @@ int processEvent_Cream(intJobStat *js, edg_wll_Event *e, int ev_seq, int strict,
                                js->pub.cream_state = EDG_WLL_STAT_ABORTED;
                        }
                        if (USABLE_DATA(res)) {
-                               js->pub.cream_reason = e->CREAMAbort.reason;
+                               rep(js->pub.cream_reason, e->CREAMAbort.reason);
                        }
                        break;