Skip to content

Commit

Permalink
comment tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
davidpanderson committed Mar 26, 2023
1 parent 3bf1633 commit 2667361
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions client/cs_apps.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -218,14 +218,16 @@ int CLIENT_STATE::app_finished(ACTIVE_TASK& at) {
// Check whether the input and app version files for a result are
// marked as FILE_PRESENT.
// If check_size is set, also check whether the exist and have right size.
// Side effect: files with size mismatch are deleted.
//
// If fipp is nonzero, return a pointer to offending FILE_INFO on error
//
// Called from:
// CLIENT_STATE::update_results (with check_existence=false)
// CLIENT_STATE::update_results (with check_size=false)
// to transition result from DOWNLOADING to DOWNLOADED.
// ACTIVE_TASK::start() (with check_existence=true)
// ACTIVE_TASK::start() (with check_size=true)
// to check files before running a task
//
// If fipp is nonzero, return a pointer to offending FILE_INFO on error
//
int CLIENT_STATE::task_files_present(
RESULT* rp, bool check_size, FILE_INFO** fipp
) {
Expand Down

0 comments on commit 2667361

Please sign in to comment.