From 18c110997719e45a4dc318503165da600f50474d Mon Sep 17 00:00:00 2001 From: jette <jette@schedmd.com> Date: Fri, 8 Mar 2013 08:36:14 -0800 Subject: [PATCH] Replace blocks of spaces with tabs, no change in logic --- src/common/slurm_protocol_api.c | 42 ++++++++++++++++----------------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/src/common/slurm_protocol_api.c b/src/common/slurm_protocol_api.c index 518c5d30d29..ee0c850b9a1 100644 --- a/src/common/slurm_protocol_api.c +++ b/src/common/slurm_protocol_api.c @@ -233,16 +233,16 @@ uint16_t slurm_get_batch_start_timeout(void) */ uint16_t slurm_get_suspend_timeout(void) { - uint16_t suspend_timeout = 0; - slurm_ctl_conf_t *conf; + uint16_t suspend_timeout = 0; + slurm_ctl_conf_t *conf; - if (slurmdbd_conf) { - } else { - conf = slurm_conf_lock(); - suspend_timeout = conf->suspend_timeout; - slurm_conf_unlock(); - } - return suspend_timeout; + if (slurmdbd_conf) { + } else { + conf = slurm_conf_lock(); + suspend_timeout = conf->suspend_timeout; + slurm_conf_unlock(); + } + return suspend_timeout; } /* slurm_get_resume_timeout @@ -250,16 +250,16 @@ uint16_t slurm_get_suspend_timeout(void) */ uint16_t slurm_get_resume_timeout(void) { - uint16_t resume_timeout = 0; - slurm_ctl_conf_t *conf; + uint16_t resume_timeout = 0; + slurm_ctl_conf_t *conf; - if (slurmdbd_conf) { - } else { - conf = slurm_conf_lock(); - resume_timeout = conf->resume_timeout; - slurm_conf_unlock(); - } - return resume_timeout; + if (slurmdbd_conf) { + } else { + conf = slurm_conf_lock(); + resume_timeout = conf->resume_timeout; + slurm_conf_unlock(); + } + return resume_timeout; } /* slurm_get_suspend_time @@ -1538,7 +1538,7 @@ int slurm_set_jobcomp_port(uint32_t port) /* slurm_get_kill_wait * returns kill_wait from slurmctld_conf object - * RET uint16_t - kill_wait + * RET uint16_t - kill_wait */ uint16_t slurm_get_kill_wait(void) { @@ -1968,7 +1968,7 @@ slurm_fd_t slurm_init_msg_engine_port(uint16_t port) */ slurm_fd_t slurm_init_msg_engine_addrname_port(char *addr_name, uint16_t port) { - slurm_addr_t addr; + slurm_addr_t addr; #ifdef BIND_SPECIFIC_ADDR if (addr_name != NULL) @@ -1976,7 +1976,7 @@ slurm_fd_t slurm_init_msg_engine_addrname_port(char *addr_name, uint16_t port) else slurm_set_addr_any(&addr, port); #else - slurm_set_addr_any(&addr, port); + slurm_set_addr_any(&addr, port); #endif return _slurm_init_msg_engine(&addr); -- GitLab