Skip to content
Snippets Groups Projects
Commit 223b1708 authored by Moe Jette's avatar Moe Jette
Browse files

Increase the initial buffer size for constructing a job's hostlist string.

parent ab43ebb0
No related branches found
No related tags found
No related merge requests found
...@@ -1921,7 +1921,7 @@ _copy_job_desc_to_job_record(job_desc_msg_t * job_desc, ...@@ -1921,7 +1921,7 @@ _copy_job_desc_to_job_record(job_desc_msg_t * job_desc,
*/ */
static char *_copy_nodelist_no_dup(char *node_list) static char *_copy_nodelist_no_dup(char *node_list)
{ {
int new_size = 32; int new_size = 64;
char *new_str; char *new_str;
hostlist_t hl = hostlist_create(node_list); hostlist_t hl = hostlist_create(node_list);
if (hl == NULL) if (hl == NULL)
......
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