IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 12, 2005, 5:00:47 PM (21 years ago)
Author:
eugene
Message:

pcontrol dev work

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/pcontrol/HostOps.c

    r3203 r3204  
    33Stack *HostPool_Idle;
    44Stack *HostPool_Busy;
     5Stack *HostPool_Done;
    56Stack *HostPool_Down;
    67Stack *HostPool_Off;
     
    910  HostPool_Idle = InitStack ();
    1011  HostPool_Busy = InitStack ();
     12  HostPool_Done = InitStack ();
    1113  HostPool_Down = InitStack ();
    1214  HostPool_Off = InitStack ();
     
    1921    case PCONTROL_HOST_DOWN:
    2022      return (HostPool_Down);
     23    case PCONTROL_HOST_DONE:
     24      return (HostPool_Done);
    2125    case PCONTROL_HOST_BUSY:
    2226      return (HostPool_Busy);
     
    2428      return (HostPool_Off);
    2529    default:
    26       fprintf (stderr, "error: unknown host stack\n");
    27       return (NULL);
     30      fprintf (stderr, "error: unknown host stack : programming error\n");
     31      exit (1);
    2832  }
    29   return (NULL);
     33  fprintf (stderr, "error: unknown host stack : programming error\n");
     34  exit (1);
    3035}
    3136
Note: See TracChangeset for help on using the changeset viewer.