diff --git a/samples/vboxwrapper/vboxwrapper.cpp b/samples/vboxwrapper/vboxwrapper.cpp index 8f77f9ee30..b172b2ba3f 100644 --- a/samples/vboxwrapper/vboxwrapper.cpp +++ b/samples/vboxwrapper/vboxwrapper.cpp @@ -385,11 +385,6 @@ int main(int argc, char** argv) { vector copy_to_shared; char buf[256]; - memset(&boinc_options, 0, sizeof(boinc_options)); - boinc_options.main_program = true; - boinc_options.check_heartbeat = true; - boinc_options.handle_process_control = true; - boinc_init_options(&boinc_options); for (int i=1; i 0.0) { + fprintf( + stderr, + "%s Feature: Enabling trickle-ups (Interval: %f)\n", + vboxwrapper_msg_prefix(buf, sizeof(buf)), trickle_period + ); + boinc_options.handle_trickle_ups = true; + } + + boinc_init_options(&boinc_options); + // Prepare environment for detecting system conditions // boinc_get_init_data_p(&aid);