IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 16, 2006, 10:58:49 PM (20 years ago)
Author:
eugene
Message:

major updates to use gprint for buffered / threaded printing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/lib.shell/timeformat.c

    r2598 r7917  
    88  if ((p = get_variable ("TIMEREF")) != (char *) NULL) {
    99    if (!str_to_time (p, TimeReference)) {
    10       fprintf (stderr, "error in TIME_REF format\n");
     10      gprint (GP_ERR, "error in TIME_REF format\n");
    1111      return (FALSE);
    1212    }
     
    2222    if (!strcasecmp (p, "min")) *TimeFormat    = TIME_MINUTES;
    2323    if (!strcasecmp (p, "sec")) *TimeFormat    = TIME_SECONDS;
    24     if (!*TimeFormat) fprintf (stderr, "unknown TIME_FORMAT\n");
     24    if (!*TimeFormat) gprint (GP_ERR, "unknown TIME_FORMAT\n");
    2525    free (p);
    2626    return (FALSE);
Note: See TracChangeset for help on using the changeset viewer.