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

fix for dealing with a NULL jobinfo structure

parent 170ad087
No related branches found
No related tags found
No related merge requests found
......@@ -386,7 +386,7 @@ extern int pack_select_jobinfo(select_jobinfo_t *jobinfo, Buf buffer,
/* pack space for 3 positions for geo
* then 1 for conn_type, reboot, and rotate
*/
for (i=0; i<(dims+2); i++) {
for (i=0; i<((dims*2)+2); i++) {
pack16((uint16_t) 0, buffer);
}
pack32((uint32_t) 0, buffer); //node_cnt
......
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