From 38ac7136a98ff839ccafb4467ed0cc3ed35f7432 Mon Sep 17 00:00:00 2001 From: Reinhard Prix Date: Fri, 30 Sep 2005 13:04:40 +0000 Subject: [PATCH] correct 'return'. svn path=/trunk/boinc/; revision=8365 --- sched/file_upload_handler.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sched/file_upload_handler.C b/sched/file_upload_handler.C index 52ec785806..52ae191d48 100644 --- a/sched/file_upload_handler.C +++ b/sched/file_upload_handler.C @@ -311,7 +311,7 @@ int handle_file_upload(FILE* in, R_RSA_PUBLIC_KEY& key) { log_messages.printf(SCHED_MSG_LOG::MSG_CRITICAL, "Failed to find/create directory-hierarchy for file '%s' in '%s'\n", file_info.name, config.upload_dir ); - return retval; + return return_error(ERR_TRANSIENT, "can't open file"); } log_messages.printf( SCHED_MSG_LOG::MSG_NORMAL,