Changeset 143 for trunk/src/helpers/stringh.c
- Timestamp:
- Feb 23, 2002, 8:47:51 AM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/helpers/stringh.c
r140 r143 371 371 372 372 return (ul); 373 } 374 375 /* 376 *@@ strhSize: 377 * returns the size of the given string, which 378 * is the memory required to allocate a copy, 379 * including the null terminator. 380 * 381 * Returns 0 if pcsz is NULL or points to a 382 * null character. 383 * 384 *@@added V0.9.18 (2002-02-13) [umoeller] 385 */ 386 387 ULONG strhSize(PCSZ pcsz) 388 { 389 if (pcsz && *pcsz) 390 return (strlen(pcsz) + 1); 391 392 return (0); 373 393 } 374 394 … … 603 623 if ((p1 = strchr(pszBuf, cQuote))) 604 624 { 605 PSZ p2 = strchr(p1+1, cQuote);606 if (p2 )625 PSZ p2; 626 if (p2 = strchr(p1+1, cQuote)) 607 627 { 608 628 pszReturn = strhSubstr(p1+1, p2);
Note:
See TracChangeset
for help on using the changeset viewer.