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

Fix bug which was only picking up one byte of job's signature.

parent a7976277
No related branches found
No related tags found
No related merge requests found
...@@ -203,7 +203,7 @@ srun_info_create(void *keydata, slurm_addr resp_addr, slurm_addr ioaddr) ...@@ -203,7 +203,7 @@ srun_info_create(void *keydata, slurm_addr resp_addr, slurm_addr ioaddr)
struct srun_info *srun = xmalloc(sizeof(*srun)); struct srun_info *srun = xmalloc(sizeof(*srun));
srun_key_t *key = xmalloc(sizeof(*key )); srun_key_t *key = xmalloc(sizeof(*key ));
memcpy((void *) key->data, keydata, sizeof(*key->data)); memcpy((void *) key->data, keydata, SLURM_KEY_SIZE);
srun->key = key; srun->key = key;
srun->ioaddr = ioaddr; srun->ioaddr = ioaddr;
......
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