1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-06-20 01:02:44 +02:00

* keyserver.c (keyserver_spawn): Use ascii_isspace instead of spacep since

ascii_isspace includes \r and \n.
This commit is contained in:
David Shaw 2003-06-26 20:29:50 +00:00
parent aae22172b9
commit fbc1b34f71
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2003-06-26 David Shaw <dshaw@jabberwocky.com>
* keyserver.c (keyserver_spawn): Use ascii_isspace instead of
spacep since ascii_isspace includes \r and \n.
2003-06-24 David Shaw <dshaw@jabberwocky.com>
* signal.c, tdbio.c: Comment out the transaction code. It was not

View File

@ -570,7 +570,7 @@ keyserver_spawn(int action,STRLIST list,
/* remove trailing whitespace */
plen=strlen(ptr);
while(plen>0 && spacep(ptr+plen-1))
while(plen>0 && ascii_isspace(ptr[plen-1]))
plen--;
plen[ptr]='\0';