Skip to content
Snippets Groups Projects
Commit a1fb1a70 authored by Phil Eckert's avatar Phil Eckert
Browse files

the sizeof(slurm_addr) should have been sizeof(slurm_addr_t)

parent a009f0ce
No related branches found
No related tags found
No related merge requests found
...@@ -268,7 +268,7 @@ job_alloc_info_response_msg_to_hv(job_alloc_info_response_msg_t *resp_msg, HV* h ...@@ -268,7 +268,7 @@ job_alloc_info_response_msg_to_hv(job_alloc_info_response_msg_t *resp_msg, HV* h
avp = newAV(); avp = newAV();
for(i = 0; i < resp_msg->node_cnt; i ++) { for(i = 0; i < resp_msg->node_cnt; i ++) {
/* XXX: This is a packed inet address */ /* XXX: This is a packed inet address */
av_store(avp, i, newSVpvn((char*)(resp_msg->node_addr + i), sizeof(slurm_addr))); av_store(avp, i, newSVpvn((char*)(resp_msg->node_addr + i), sizeof(slurm_addr_t)));
} }
hv_store_sv(hv, "node_addr", newRV_noinc((SV*)avp)); hv_store_sv(hv, "node_addr", newRV_noinc((SV*)avp));
} }
......
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