svn path=/trunk/boinc/; revision=24943

This commit is contained in:
David Anderson 2011-12-30 06:18:57 +00:00
parent a08ab28d1c
commit ac2e3581d3
3 changed files with 3 additions and 0 deletions

View File

@ -750,6 +750,7 @@ void RSS_FEED_OP::handle_reply(int http_op_retval) {
msg_printf(0, MSG_INTERNAL_ERROR,
"RSS feed file '%s' not found", filename
);
return;
}
MIOFILE fin;
fin.init_file(f);

View File

@ -325,6 +325,7 @@ language("Slovak", array(
site("http://www.boinc.sk/", "www.boinc.sk")
));
language("Spanish", array(
site("http://www.titanesdc.com/", "Foros TitanesDC"),
site("http://www.seti.cl/", "BOINC SETI Chile"),
site("http://www.easyboinc.org/", "Computación Distribuida"),
site("http://foro.noticias3d.com/vbulletin/showthread.php?t=192297", "Noticias3D"),

View File

@ -331,6 +331,7 @@ function handle_abort_batch($r) {
list($user, $user_submit) = authenticate_user($r, null);
$batch_id = (int)($r->batch_id);
$batch = BoincBatch::lookup_id($batch_id);
if (!$batch) error("no such batch");
if ($batch->user_id != $user->id) {
error("not owner");
}