mirror of https://github.com/BOINC/boinc.git
parent
a17a22730f
commit
0d1bb36f4d
|
@ -32,7 +32,7 @@ Existing applications in common languages (C, C++, Fortran)
|
|||
can run as BOINC applications with little or no modification.
|
||||
An application can consist of several files
|
||||
(e.g. multiple programs and a coordinating script).
|
||||
New versions of applications can be deployed without participant involvement.
|
||||
New versions of applications can be deployed with minimal participant involvement.
|
||||
<li>
|
||||
<b>Security</b>
|
||||
<br>
|
||||
|
|
|
@ -65,7 +65,7 @@ int check_trigger(SCHED_SHMEM* ssp) {
|
|||
assert(ssp!=NULL);
|
||||
f = fopen(TRIGGER_FILENAME, "r");
|
||||
if (!f) return 0;
|
||||
fread(buf, 1, 256, f);
|
||||
fgets(buf, 256, f);
|
||||
fclose(f);
|
||||
if (!strcmp(buf, "<quit/>\n")) {
|
||||
detach_shmem((void*)ssp);
|
||||
|
@ -146,7 +146,7 @@ void feeder_loop(SCHED_SHMEM* ssp) {
|
|||
printf("feeder: adding result %d in slot %d\n", result.id, i);
|
||||
retval = db_workunit(result.workunitid, wu);
|
||||
if (retval) {
|
||||
printf("feeder: can't read workunit %d: %d\n", result.workunitid, result);
|
||||
printf("feeder: can't read workunit %d: %d\n", result.workunitid, retval);
|
||||
continue;
|
||||
}
|
||||
ssp->wu_results[i].result = result;
|
||||
|
|
Loading…
Reference in New Issue