mirror of https://github.com/BOINC/boinc.git
Test application using stdout instead of stderr for logging informations.
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@446 a7169a2c-3604-0410-bc95-c702d8d87f7a
This commit is contained in:
parent
d38c1e88fa
commit
db15b0df7e
|
@ -124,13 +124,14 @@ int main(int argc, char **argv) {
|
|||
fprintf(stderr, "APP: Error while the initialize. Return value = %d.\n", retval);
|
||||
DC_finish(retval);
|
||||
}
|
||||
fprintf(stderr, "APP: Init successful.\n");
|
||||
fprintf(stdout, "APP: Init successful.\n");
|
||||
|
||||
init_files();
|
||||
fprintf(stderr, "APP: Starting from line %d.\n", frac_current_pos+1);
|
||||
fprintf(stdout, "APP: Starting from line %d.\n", frac_current_pos+1);
|
||||
|
||||
do_work();
|
||||
fprintf(stderr, "APP: Work finished.\n");
|
||||
fprintf(stdout, "APP: Work finished.\n");
|
||||
fprintf(stderr, "APP: This is only a test error message.\n");
|
||||
|
||||
DC_finish(0);
|
||||
return(0); // Tho' we never reach this line
|
||||
|
|
Loading…
Reference in New Issue