fix pkt size problem and fmt_jobid

This commit is contained in:
Rongsong Shen 2025-12-24 17:56:45 +08:00
parent 088afe4ea0
commit 4034fd7556
15 changed files with 130 additions and 64 deletions

View file

@ -80,7 +80,7 @@ xce_host_alloc_t** make_host_allocs(int nhosts, ...)
int i;
va_list ap;
if (nhosts == NULL) {
if (nhosts <= 0) {
return NULL;
}