mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +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:
parent
be85ae8f1f
commit
ae4ef70783
2 changed files with 5 additions and 0 deletions
|
@ -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.
|
||||
|
||||
|
|
|
@ -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")))
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue