summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2002-02-23 10:42:01 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2002-02-23 10:42:01 +0000
commit28bb89cfb2a3394540de6c3b2e3cf5e183e5d997 (patch)
treeaf0a8584808cca6647702f0ff76aed85862c4e37 /lib
parent120cbac4197229d15bbf02f49c2b76c82e117e3f (diff)
downloadmailutils-28bb89cfb2a3394540de6c3b2e3cf5e183e5d997.tar.gz
mailutils-28bb89cfb2a3394540de6c3b2e3cf5e183e5d997.tar.bz2
(argcv_scan): Correclty handle comments without intervening whitespace
between the comment character and remaining text, e.g.: set a=2 #comment
Diffstat (limited to 'lib')
-rw-r--r--lib/argcv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/argcv.c b/lib/argcv.c
index c60674514..291f5c44d 100644
--- a/lib/argcv.c
+++ b/lib/argcv.c
@@ -72,7 +72,7 @@ argcv_scan (int len, const char *command, const char *delim, const char* cmnt,
/* If we have a token, and it starts with a comment character, skip
to the newline and restart the token search. */
- if (*save < len)
+ if (*save <= len)
{
if (cmnt && strchr (cmnt, command[*start]) != NULL)
{

Return to:

Send suggestions and report system problems to the System administrator.