IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 3, 2008, 10:26:51 PM (18 years ago)
Author:
eugene
Message:

updates from HEAD

File:
1 edited

Legend:

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

    r16810 r18424  
    1111  int i, N, onPage, found, Unique, Nkeys, NKEYS;
    1212  char *line, *tmpword, *tmpvalue;
    13   char pagename[512], *bookName, **keys, *p, *q;
     13  char pagename[512]; // XXX this should be made dynamic, though it is an unlikey problem
     14  char *bookName, **keys, *p, *q;
    1415  char **setWordList;
    1516  char **setWordValue;
     
    102103  tmpword = nextword (line);
    103104
    104   if (strcmp(tmpword, "MULTI")) {
     105  if (!tmpword || strcmp(tmpword, "MULTI")) {
    105106    gprint (GP_ERR, "ERROR: missing metadata output name on first line\n");
    106107    free (bookName);
Note: See TracChangeset for help on using the changeset viewer.