diff --git a/db/boinc_db.cpp b/db/boinc_db.cpp index 37f52cedb4..bca457b98d 100644 --- a/db/boinc_db.cpp +++ b/db/boinc_db.cpp @@ -240,7 +240,7 @@ void DB_APP::db_parse(MYSQL_ROW &r) { host_scale_check = (atoi(r[i++]) != 0); homogeneous_app_version = (atoi(r[i++]) != 0); non_cpu_intensive = (atoi(r[i++]) != 0); - locality_scheduling = atof(r[i++]); + locality_scheduling = atoi(r[i++]); } void DB_APP_VERSION::db_print(char* buf){ diff --git a/vda/examples.txt b/vda/examples.txt index 42cf63123f..1dbcd0a12d 100644 --- a/vda/examples.txt +++ b/vda/examples.txt @@ -18,6 +18,7 @@ scenario 1: - encode 0.0 - delete 0.0 - delete 0.0.0, 0.0.1 +- mark 0.0.2 for download after decide: 0.0: need_recon diff --git a/vda/vdad.cpp b/vda/vdad.cpp index 7680f6e843..f7b4e144d3 100644 --- a/vda/vdad.cpp +++ b/vda/vdad.cpp @@ -198,7 +198,9 @@ int handle_dead_host(DB_HOST& h) { retval = ch.enumerate(buf); if (retval == ERR_DB_NOT_FOUND) break; if (retval) return retval; - log_messages.printf(MSG_NORMAL, " updating file%d\n", ch.vda_file_id); + log_messages.printf(MSG_NORMAL, + " updating file %d\n", ch.vda_file_id + ); DB_VDA_FILE vf; retval = vf.lookup_id(ch.vda_file_id); if (retval) {