From bf201745edd1a01fa9ad638aa89375b7c7951dd5 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Sat, 25 Nov 2006 00:28:45 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc_samples/; revision=11583 --- wrapper/wrapper.C | 3 +++ 1 file changed, 3 insertions(+) diff --git a/wrapper/wrapper.C b/wrapper/wrapper.C index 917535a5e2..772085678c 100644 --- a/wrapper/wrapper.C +++ b/wrapper/wrapper.C @@ -362,6 +362,9 @@ int main(int argc, char** argv) { while(1) { int status; if (task.poll(status)) { + if (status) { + fprintf(stderr, "app error: 0x%x\n", status); + } boinc_finish(status); } poll_boinc_messages(task);