|
Lines 827-837
process_config_line_depth(Options *options, struct passwd *pw, const char *host,
Link Here
|
| 827 |
activep = &cmdline; |
827 |
activep = &cmdline; |
| 828 |
} |
828 |
} |
| 829 |
|
829 |
|
| 830 |
/* Strip trailing whitespace */ |
830 |
/* Strip trailing whitespace. Allow \f (form feed) at EOL only */ |
| 831 |
if ((len = strlen(line)) == 0) |
831 |
if ((len = strlen(line)) == 0) |
| 832 |
return 0; |
832 |
return 0; |
| 833 |
for (len--; len > 0; len--) { |
833 |
for (len--; len > 0; len--) { |
| 834 |
if (strchr(WHITESPACE, line[len]) == NULL) |
834 |
if (strchr(WHITESPACE "\f", line[len]) == NULL) |
| 835 |
break; |
835 |
break; |
| 836 |
line[len] = '\0'; |
836 |
line[len] = '\0'; |
| 837 |
} |
837 |
} |