IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 4, 2005, 7:51:09 AM (21 years ago)
Author:
eugene
Message:

added test of exit/crash job stacks

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/pantasks/controller_check.c

    r4705 r4706  
    2727  }
    2828  FreeIOBuffer (&buffer);
    29 
    30   /* check on success of controller command */
    31   switch (status) {
    32     case CONTROLLER_DOWN:
    33       fprintf (stderr, "controller is down\n");
    34       return (FALSE);
    35 
    36     case CONTROLLER_HUNG:
    37       fprintf (stderr, "controller is not responding\n");
    38       return (FALSE);
    39 
    40     case CONTROLLER_GOOD:
    41       return (TRUE);
    42 
    43     default:
    44       fprintf (stderr, "unknown status for controller command: programming error\n"); 
    45       exit (1);
    46   }
    47 
    48   fprintf (stderr, "programming error: should not reach here\n"); 
    49   exit (1);
     29  return (TRUE);
    5030
    5131usage:
Note: See TracChangeset for help on using the changeset viewer.