forked from pool/boinc-client
12 lines
563 B
Diff
12 lines
563 B
Diff
diff -uNrp boinc_core_release_6_4_5/client/hostinfo_unix.cpp boinc_core_release_6_4_5p/client/hostinfo_unix.cpp
|
|
--- boinc_core_release_6_4_5/client/hostinfo_unix.cpp 2009-02-07 10:14:39.000000000 +0100
|
|
+++ boinc_core_release_6_4_5p/client/hostinfo_unix.cpp 2009-03-16 19:54:17.000000000 +0100
|
|
@@ -293,6 +293,7 @@ bool HOST_INFO::host_is_running_on_batte
|
|
method = NoBattery;
|
|
// fall through
|
|
case NoBattery:
|
|
+ default:
|
|
// we have no way to determine if we're on batteries,
|
|
// so we say we aren't
|
|
return false;
|