mirror of https://github.com/BOINC/boinc.git
- DIAG: Make init functions consistant with one another.
lib/ diagnostics.cpp svn path=/trunk/boinc/; revision=21418
This commit is contained in:
parent
5fe3ea66a7
commit
9e2e47c1de
|
@ -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
|
||||
|
|
|
@ -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
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue