From 5a6f57f912d5613f6e1f6b49643d29dce7294a83 Mon Sep 17 00:00:00 2001
From: Danny Auble <da@llnl.gov>
Date: Tue, 27 Oct 2009 17:59:28 +0000
Subject: [PATCH] fix for using pointer instead of reference

---
 src/scontrol/update_job.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/scontrol/update_job.c b/src/scontrol/update_job.c
index 99fde857369..edaba7d7855 100644
--- a/src/scontrol/update_job.c
+++ b/src/scontrol/update_job.c
@@ -527,8 +527,8 @@ scontrol_update_job (int argc, char *argv[])
 		else if (!strncasecmp(tag, "EligibleTime", MAX(taglen, 2)) ||
 			 !strncasecmp(tag, "StartTime",    MAX(taglen, 2))) {
 			job_msg.begin_time = parse_time(val, 0);
-			if(job_msg->begin_time < time(NULL))
-				job_msg->begin_time = time(NULL);
+			if(job_msg.begin_time < time(NULL))
+				job_msg.begin_time = time(NULL);
 			update_cnt++;
 		}
 		else if (!strncasecmp(tag, "EndTime", MAX(taglen, 2))) {
-- 
GitLab