mirror of https://github.com/BOINC/boinc.git
web RPCs: fix typo. From Jaime
This commit is contained in:
parent
6f29a50812
commit
3aa4e32ed2
|
@ -100,7 +100,7 @@ function get_wu_output_file($wu_name, $file_num, $auth_str) {
|
|||
$wu = BoincWorkunit::lookup("name='$wu_name'");
|
||||
if (!$wu) die("no workunit $wu_name");
|
||||
$batch = BoincBatch::lookup_id($wu->batch);
|
||||
if (!batch) die("no batch $wu->batch");
|
||||
if (!$batch) die("no batch $wu->batch");
|
||||
$user = BoincUser::lookup_id($batch->user_id);
|
||||
if (!$user) die("no user $batch->user_id");
|
||||
if ($user->authenticator != $auth_str) die("bad auth str: x=$x, auth_str=$auth_str");
|
||||
|
@ -123,7 +123,7 @@ function get_wu_output_files($wu_id, $auth_str) {
|
|||
$wu = BoincWorkunit::lookup_id($wu_id);
|
||||
if (!$wu) die("no workunit $wu_id");
|
||||
$batch = BoincBatch::lookup_id($wu->batch);
|
||||
if (!batch) die("no batch $wu->batch");
|
||||
if (!$batch) die("no batch $wu->batch");
|
||||
$user = BoincUser::lookup_id($batch->user_id);
|
||||
if (!$user) die("no user $batch->user_id");
|
||||
$x = md5($user->authenticator.$wu_id);
|
||||
|
|
Loading…
Reference in New Issue