IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 16567


Ignore:
Timestamp:
Feb 21, 2008, 2:08:43 PM (18 years ago)
Author:
eugene
Message:

ignore commented-out lines

File:
1 edited

Legend:

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

    r12332 r16567  
    9191      return (TRUE); // no output in queue - not an error?
    9292    }
     93    stripwhite (line);
     94    if (line[0] == '#') {
     95      free (line);
     96      continue;
     97    }
    9398    if (*line) break;
    9499    free (line);
     
    122127      return (TRUE);
    123128    }
     129    stripwhite (line);
    124130    if (!*line) {
     131      free (line);
     132      continue;
     133    }
     134    if (line[0] == '#') {
    125135      free (line);
    126136      continue;
Note: See TracChangeset for help on using the changeset viewer.