IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 12, 2006, 12:26:32 PM (20 years ago)
Author:
eugene
Message:

debugs

File:
1 edited

Legend:

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

    r10661 r10663  
    11# include "pcontrol.h"
     2# define DEBUG 1
    23
    34int CheckBusyJob (Job *job, Host *host) {
     
    3738    case PCLIENT_HUNG:
    3839      // don't do anything drastic, just keep trying
    39       if (VerboseMode()) gprint (GP_ERR, "client is busy, not responding");
     40      if (DEBUG || VerboseMode()) gprint (GP_ERR, "client is busy, not responding");
     41      PutHost (host, PCONTROL_HOST_BUSY, STACK_BOTTOM);
     42      PutJob (job, PCONTROL_JOB_BUSY, STACK_BOTTOM);
    4043      FreeIOBuffer (&buffer);
    4144      return (TRUE);
    4245
    4346    case PCLIENT_GOOD:
    44       if (VerboseMode()) gprint (GP_ERR, "message received (CheckBusyJob)");
     47      if (DEBUG || VerboseMode()) gprint (GP_ERR, "message received (CheckBusyJob)");
    4548      break;
    4649
Note: See TracChangeset for help on using the changeset viewer.