Changeset 16 in Main for trunk/Common/string.c


Ignore:
Timestamp:
Sep 14, 2024, 12:09:52 AM (2 months ago)
Author:
Nishi
Message:

can parse http now

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Common/string.c

    r6 r16  
    1111        memcpy(str + strlen(a), b, strlen(b));
    1212        str[strlen(a) + strlen(b)] = 0;
     13        return str;
     14}
     15
     16char* cm_strcat3(const char* a, const char* b, const char* c) {
     17        char* tmp = cm_strcat(a, b);
     18        char* str = cm_strcat(tmp, c);
     19        free(tmp);
    1320        return str;
    1421}
Note: See TracChangeset for help on using the changeset viewer.