fixed more bugs in create_work

svn path=/trunk/boinc/; revision=151
This commit is contained in:
Michael Gary 2002-07-01 23:16:03 +00:00
parent 41f8c14694
commit dfe7661b15
1 changed files with 2 additions and 2 deletions

View File

@ -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());