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

    r6983 r7016  
    216216                if (mdok && strlen(keywords) > 0) {
    217217                    // In case there are multiple headers
    218                     psList *keys = psStringSplit(keywords, " ,;"); // List of keywords
     218                    psList *keys = psStringSplit(keywords, " ,;", true); // List of keywords
    219219                    if (keys->n == 1) {
    220220                        // Only one key --- proceed as usual
     
    285285                // Now, need to get the "given"s
    286286                if (strlen(givenCols) > 0 || strlen(givenPS) > 0) {
    287                     psList *cols = psStringSplit(givenCols, ",;"); // List of column names
    288                     psList *values = psStringSplit(givenPS, ",;"); // List of value names for the columns
     287                    psList *cols = psStringSplit(givenCols, ",;", true); // List of column names
     288                    psList *values = psStringSplit(givenPS, ",;", true); // List of value names for the columns
    289289                    psMetadata *selection = psMetadataAlloc(); // The stuff to select in the DB
    290290                    if (cols->n != values->n) {
     
    516516        // Now, need to get the "given"s
    517517        if (strlen(givenCols) || strlen(givenPS)) {
    518             psList *cols = psStringSplit(givenCols, ",;"); // List of column names
    519             psList *values = psStringSplit(givenPS, ",;"); // List of value names for the columns
     518            psList *cols = psStringSplit(givenCols, ",;", true); // List of column names
     519            psList *values = psStringSplit(givenPS, ",;", true); // List of value names for the columns
    520520            psMetadata *selection = psMetadataAlloc(); // The stuff to select in the DB
    521521            if (cols->n != values->n) {
Note: See TracChangeset for help on using the changeset viewer.