Changeset 413
- Timestamp:
- 02/01/08 13:17:39 (2 years ago)
- Files:
-
- 1 modified
-
trunk/lib/openpam_readline.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/openpam_readline.c
r408 r413 85 85 if (ch == EOF) { 86 86 /* remove trailing whitespace */ 87 while (len > 0 && isspace(( int)line[len - 1]))87 while (len > 0 && isspace((unsigned char)line[len - 1])) 88 88 --len; 89 89 line[len] = '\0'; … … 98 98 99 99 /* remove trailing whitespace */ 100 while (len > 0 && isspace(( int)line[len - 1]))100 while (len > 0 && isspace((unsigned char)line[len - 1])) 101 101 --len; 102 102 line[len] = '\0';