- Timestamp:
- Nov 10, 2017 11:17:14 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip-apps/src/pjsua/pjsua_app_config.c
r5461 r5691 268 268 // Trim ending newlines 269 269 len = strlen(line); 270 if (l ine[len-1]=='\n')270 if (len > 0 && line[len-1]=='\n') 271 271 line[--len] = '\0'; 272 if (l ine[len-1]=='\r')272 if (len > 0 && line[len-1]=='\r') 273 273 line[--len] = '\0'; 274 274
Note: See TracChangeset
for help on using the changeset viewer.