mirror of https://github.com/BOINC/boinc.git
Fixed bug in add_work
svn path=/trunk/boinc/; revision=138
This commit is contained in:
parent
b814574c85
commit
20aefffb33
|
@ -90,10 +90,10 @@ int main(int argc, char** argv) {
|
||||||
nresults = atoi(argv[i]);
|
nresults = atoi(argv[i]);
|
||||||
} else if (!strcmp(argv[i], "-rsc_fpops")) {
|
} else if (!strcmp(argv[i], "-rsc_fpops")) {
|
||||||
i++;
|
i++;
|
||||||
wu.rsc_fpops = atof(argv[i]);
|
wu.rsc_fpops = atof(argv[i+1]);
|
||||||
} else if (!strcmp(argv[i], "-rsc_iops")) {
|
} else if (!strcmp(argv[i], "-rsc_iops")) {
|
||||||
i++;
|
i++;
|
||||||
wu.rsc_iops = atof(argv[i]);
|
wu.rsc_iops = atof(argv[i+1]);
|
||||||
} else if (!strcmp(argv[i], "-rsc_memory")) {
|
} else if (!strcmp(argv[i], "-rsc_memory")) {
|
||||||
i++;
|
i++;
|
||||||
wu.rsc_memory = atof(argv[i]);
|
wu.rsc_memory = atof(argv[i]);
|
||||||
|
|
Loading…
Reference in New Issue