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:
parent
aae22172b9
commit
fbc1b34f71
2 changed files with 6 additions and 1 deletions
|
@ -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';
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue