Changeset 238 for trunk/src/helpers/linklist.c
- Timestamp:
- Dec 24, 2002, 8:44:35 AM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/helpers/linklist.c
r232 r238 113 113 void* lstMalloc(size_t size) 114 114 { 115 return (malloc(size));115 return malloc(size); 116 116 } 117 117 … … 128 128 void* lstStrDup(const char *pcsz) 129 129 { 130 return (strdup(pcsz));130 return strdup(pcsz); 131 131 } 132 132 … … 521 521 PLISTNODE pNode; 522 522 if (pNode = lstNodeFromIndex(pList, ulIndex)) 523 return (pNode->pItemData);524 else 525 return (0);523 return pNode->pItemData; 524 525 return NULL; 526 526 } 527 527
Note:
See TracChangeset
for help on using the changeset viewer.