Changeset 1846 for trunk


Ignore:
Timestamp:
Jul 26, 2010, 7:32:57 PM (14 years ago)
Author:
dkearney
Message:

removing use of strchrnull in favor of the c89 compliant strchr

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/objects/RpObject.cc

    r1586 r1846  
    274274    }
    275275
    276     v = strchrnul(hint,'=');
     276    v = strchr(hint,'=');
    277277    *hintKey = hint;
    278     if ((*v == '\0') || (*(v+1) == '\0')) {
     278    if ((v == NULL) || (*v == '\0') || (*(v+1) == '\0')) {
    279279        // incomplete hint string
    280280        *hintVal = NULL;
Note: See TracChangeset for help on using the changeset viewer.