mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-06 12:33:23 +01: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
@ -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>
|
2003-06-24 David Shaw <dshaw@jabberwocky.com>
|
||||||
|
|
||||||
* signal.c, tdbio.c: Comment out the transaction code. It was not
|
* signal.c, tdbio.c: Comment out the transaction code. It was not
|
||||||
|
@ -570,7 +570,7 @@ keyserver_spawn(int action,STRLIST list,
|
|||||||
|
|
||||||
/* remove trailing whitespace */
|
/* remove trailing whitespace */
|
||||||
plen=strlen(ptr);
|
plen=strlen(ptr);
|
||||||
while(plen>0 && spacep(ptr+plen-1))
|
while(plen>0 && ascii_isspace(ptr[plen-1]))
|
||||||
plen--;
|
plen--;
|
||||||
plen[ptr]='\0';
|
plen[ptr]='\0';
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user