summaryrefslogtreecommitdiff
path: root/astro/boinc-setiathome-enhanced/files/patch-client__worker.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'astro/boinc-setiathome-enhanced/files/patch-client__worker.cpp')
-rw-r--r--astro/boinc-setiathome-enhanced/files/patch-client__worker.cpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/astro/boinc-setiathome-enhanced/files/patch-client__worker.cpp b/astro/boinc-setiathome-enhanced/files/patch-client__worker.cpp
new file mode 100644
index 000000000000..1770a75ca4bc
--- /dev/null
+++ b/astro/boinc-setiathome-enhanced/files/patch-client__worker.cpp
@@ -0,0 +1,18 @@
+--- client/worker.cpp.orig 2008-07-31 02:02:10.000000000 +0200
++++ client/worker.cpp 2013-08-06 18:48:48.000000000 +0200
+@@ -153,7 +153,6 @@
+ retval = seti_do_work();
+ if (retval) SETIERROR(retval,"from seti_do_work() in worker()");
+
+- boinc_fpops_cumulative((SETUP_FLOPS+analysis_state.FLOP_counter)*LOAD_STORE_ADJUSTMENT);
+ boinc_finish(retval);
+ }
+ catch (seti_error e) {
+@@ -165,7 +164,6 @@
+ remaining=0;
+ boinc_fraction_done(progress);
+ checkpoint(true); // force a checkpoint
+- boinc_fpops_cumulative((SETUP_FLOPS+analysis_state.FLOP_counter)*LOAD_STORE_ADJUSTMENT);
+ boinc_finish(0);
+ exit(0); // an overflow is not an app error
+ } else {