Skip to content
Snippets Groups Projects
Commit 39e3ab28 authored by Danny Auble's avatar Danny Auble
Browse files

fix to make an error not happen if there are no steps underneith the sent message

parent fb0a0ff9
No related branches found
No related tags found
No related merge requests found
...@@ -914,7 +914,7 @@ List slurm_receive_msgs(slurm_fd fd, int steps, int timeout) ...@@ -914,7 +914,7 @@ List slurm_receive_msgs(slurm_fd fd, int steps, int timeout)
Buf buffer; Buf buffer;
ret_data_info_t *ret_data_info = NULL; ret_data_info_t *ret_data_info = NULL;
List ret_list = NULL; List ret_list = NULL;
int orig_timeout = 0; int orig_timeout = timeout;
xassert(fd >= 0); xassert(fd >= 0);
...@@ -1069,7 +1069,7 @@ int slurm_receive_and_forward_msgs(slurm_fd fd, slurm_addr *orig_addr, ...@@ -1069,7 +1069,7 @@ int slurm_receive_and_forward_msgs(slurm_fd fd, slurm_addr *orig_addr,
void *auth_cred = NULL; void *auth_cred = NULL;
Buf buffer; Buf buffer;
ret_data_info_t *ret_data_info = NULL; ret_data_info_t *ret_data_info = NULL;
int orig_timeout = 0; int orig_timeout = timeout;
xassert(fd >= 0); xassert(fd >= 0);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment