From b0ee0c2b9b98720f20e7b7bbb835af52e58f8f47 Mon Sep 17 00:00:00 2001
From: Moe Jette <jette1@llnl.gov>
Date: Wed, 12 Sep 2007 20:45:40 +0000
Subject: [PATCH] reorder an entry to maintain same order as slurm.h to make it
 simpler to keep them in sync.

---
 contribs/perlapi/libslurm-perl/conf.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/contribs/perlapi/libslurm-perl/conf.c b/contribs/perlapi/libslurm-perl/conf.c
index 45fb59a8471..a8a15c56ec6 100644
--- a/contribs/perlapi/libslurm-perl/conf.c
+++ b/contribs/perlapi/libslurm-perl/conf.c
@@ -41,7 +41,7 @@ slurm_ctl_conf_to_hv(slurm_ctl_conf_t* conf, HV* hv)
 	STORE_FIELD(hv, conf, inactive_limit, uint16_t);
 	if(conf->job_acct_gather_type)
 		STORE_FIELD(hv, conf, job_acct_gather_type, charp);
-	 STORE_FIELD(hv, conf, job_acct_gather_freq, uint16_t);
+	STORE_FIELD(hv, conf, job_acct_gather_freq, uint16_t);
 	if(conf->job_acct_storage_loc)
 		STORE_FIELD(hv, conf, job_acct_storage_loc, charp);
 	if(conf->job_acct_storage_type)
@@ -53,10 +53,10 @@ slurm_ctl_conf_to_hv(slurm_ctl_conf_t* conf, HV* hv)
 	if(conf->job_acct_storage_pass)
 		STORE_FIELD(hv, conf, job_acct_storage_pass, charp);
 	STORE_FIELD(hv, conf, job_acct_storage_port, uint32_t);
-	if(conf->job_comp_type)
-		STORE_FIELD(hv, conf, job_comp_type, charp);
 	if(conf->job_comp_loc)
 		STORE_FIELD(hv, conf, job_comp_loc, charp);
+	if(conf->job_comp_type)
+		STORE_FIELD(hv, conf, job_comp_type, charp);
 	if(conf->job_comp_user)
 		STORE_FIELD(hv, conf, job_comp_user, charp);
 	if(conf->job_comp_host)
-- 
GitLab