mirror of
https://github.com/upa/mscp.git
synced 2026-02-21 23:04:43 +08:00
passing options via pointers in mscp_ssh_opts
We do not need static buf because we have already dropped python biding support.
This commit is contained in:
@@ -258,7 +258,7 @@ struct mscp *mscp_init(const char *remote_host, int direction,
|
||||
}
|
||||
m->direction = direction;
|
||||
|
||||
if (strlen(o->coremask) > 0) {
|
||||
if (o->coremask) {
|
||||
if (expand_coremask(o->coremask, &m->cores, &m->nr_cores) < 0)
|
||||
goto free_out;
|
||||
char b[512], c[8];
|
||||
|
||||
Reference in New Issue
Block a user