- DIAG: Make init functions consistant with one another.

lib/
        diagnostics.cpp

svn path=/trunk/boinc/; revision=21418
This commit is contained in:
Rom Walton 2010-05-07 22:25:58 +00:00
parent 5fe3ea66a7
commit 9e2e47c1de
2 changed files with 10 additions and 2 deletions

View File

@ -3412,3 +3412,9 @@ David 7 May 2010
db_ops.inc
ops/
credit.php (new)
Rom 7 May 2010
- DIAG: Make init functions consistant with one another.
lib/
diagnostics.cpp

View File

@ -128,8 +128,10 @@ int __cdecl boinc_message_reporting(int reportType, char *szMsg, int *retVal){
// initialize the app diagnostic environment.
//
int boinc_init_diagnostics(int _flags) {
int modified_flags = BOINC_DIAG_BOINCAPPLICATION | _flags;
return diagnostics_init(modified_flags, BOINC_DIAG_STDOUT, BOINC_DIAG_STDERR);
return diagnostics_init(
BOINC_DIAG_BOINCAPPLICATION | _flags,
BOINC_DIAG_STDOUT, BOINC_DIAG_STDERR
);
}