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/string.c

    r6424 r7917  
    3232    for (j = i; (string[j] != 0) && (string[j] != '"'); j++);
    3333    if (string[j] == 0) {
    34       fprintf (stderr, "misbalanced quotes\n");
     34      gprint (GP_ERR, "misbalanced quotes\n");
    3535      return ((char *)NULL);
    3636    }
     
    5555    }
    5656    if ((string[j] == 0) && (N != 0)) {
    57       fprintf (stderr, "misbalanced parenthesis\n");
     57      gprint (GP_ERR, "misbalanced parenthesis\n");
    5858      return ((char *)NULL);
    5959    }
     
    130130    for (; (string[i] != 0) && (string[i] != '"'); i++);
    131131    if (string[i] == 0) {
    132       fprintf (stderr, "misbalanced quotes\n");
     132      gprint (GP_ERR, "misbalanced quotes\n");
    133133      return ((char *)NULL);
    134134    }
     
    152152    }
    153153    if ((string[i] == 0) && (j != 0)) {
    154       fprintf (stderr, "misbalanced parenthesis\n");
     154      gprint (GP_ERR, "misbalanced parenthesis\n");
    155155      return ((char *)NULL);
    156156    }
Note: See TracChangeset for help on using the changeset viewer.