Changeset 3230
- Timestamp:
- Jun 30, 2010 2:19:54 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/branches/projects/cli/pjlib/src/pj/string.c
r3210 r3230 70 70 PJ_DEF(pj_str_t*) pj_strltrim( pj_str_t *str ) 71 71 { 72 char *end = str->ptr + str->slen; 72 73 register char *p = str->ptr; 73 while (p j_isspace(*p))74 while (p < end && pj_isspace(*p)) 74 75 ++p; 75 76 str->slen -= (p - str->ptr);
Note: See TracChangeset
for help on using the changeset viewer.