1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-05-31 22:18:03 +02:00

* g10.c (add_group): Trim whitespace after a group name so it does not

matter where the user puts the = sign.
This commit is contained in:
David Shaw 2003-01-16 19:09:04 +00:00
parent be85ae8f1f
commit ae4ef70783
2 changed files with 5 additions and 0 deletions

View File

@ -1,5 +1,8 @@
2003-01-16 David Shaw <dshaw@jabberwocky.com>
* g10.c (add_group): Trim whitespace after a group name so it does
not matter where the user puts the = sign.
* options.skel: Comment out the first three lines in case someone
manually copies the skel file to their homedir.

View File

@ -837,6 +837,8 @@ static void add_group(char *string)
return;
}
trim_trailing_ws(name,strlen(name));
/* Break apart the values */
while ((value=strsep (&string," \t")))
{