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:
vida 2006-04-11 13:56:16 +00:00 committed by Adam Visegradi
parent d38c1e88fa
commit db15b0df7e
1 changed files with 4 additions and 3 deletions

View File

@ -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