IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 30, 2006, 3:08:45 PM (20 years ago)
Author:
magnier
Message:

fixed instances of psStringSplit to use new API

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/astrom/pmConceptsStandard.c

    r6895 r7016  
    177177    switch (concept->type) {
    178178    case PS_DATA_STRING: {
    179             psList *regions = psStringSplit(concept->data.V, " ;"); // List of regions
     179            psList *regions = psStringSplit(concept->data.V, " ;", true); // List of regions
    180180            psListIterator *regionsIter = psListIteratorAlloc(regions, PS_LIST_HEAD, false); // Iterator
    181181            psString regionString = NULL; // Region string from iteration
     
    569569        // We're working with two separate headers --- construct a list with the date and time separately
    570570        psString dateTimeString = psTimeToISO(time); // String representation
    571         psList *dateTime = psStringSplit(dateTimeString, "T");
     571        psList *dateTime = psStringSplit(dateTimeString, "T", true);
    572572        psFree(dateTimeString);
    573573        psString dateString = psListGet(dateTime, PS_LIST_HEAD); // The date string
Note: See TracChangeset for help on using the changeset viewer.