diff options
Diffstat (limited to 'src/LYTraversal.c')
-rw-r--r-- | src/LYTraversal.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/LYTraversal.c b/src/LYTraversal.c index 6cf521b2..2a1ae04c 100644 --- a/src/LYTraversal.c +++ b/src/LYTraversal.c @@ -151,6 +151,7 @@ PUBLIC BOOLEAN lookup_reject ARGS1(char *,target) HTSprintf0(&line, "%s\n", target); while (LYSafeGets(&buffer, ifp) != NULL && !result) { + LYTrimTrailing(buffer); len = strlen(buffer); if (len > 0) { /* if not an empty line */ if (buffer[len-1] == '*') { |