mirror of https://github.com/BOINC/boinc.git
fixed more bugs in create_work
svn path=/trunk/boinc/; revision=151
This commit is contained in:
parent
41f8c14694
commit
dfe7661b15
|
@ -98,10 +98,10 @@ int main(int argc, char** argv) {
|
|||
wu.rsc_iops = atof(argv[i+1]);
|
||||
} else if (!strcmp(argv[i], "-rsc_memory")) {
|
||||
i++;
|
||||
wu.rsc_memory = atof(argv[i]);
|
||||
wu.rsc_memory = atof(argv[i+1]);
|
||||
} else if (!strcmp(argv[i], "-rsc_disk")) {
|
||||
i++;
|
||||
wu.rsc_disk = atof(argv[i]);
|
||||
wu.rsc_disk = atof(argv[i+1]);
|
||||
} else if (!strcmp(argv[i], "-wu_name_rand")) {
|
||||
i++;
|
||||
sprintf(wu.name, "%s_%d", argv[i], rand());
|
||||
|
|
Loading…
Reference in New Issue