1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-02 22:46:30 +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

@ -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';