aboutsummaryrefslogtreecommitdiffstats
path: root/g10
diff options
context:
space:
mode:
Diffstat (limited to 'g10')
-rw-r--r--g10/ChangeLog5
-rw-r--r--g10/keyserver.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/g10/ChangeLog b/g10/ChangeLog
index 9b41761fa..96e18b19f 100644
--- a/g10/ChangeLog
+++ b/g10/ChangeLog
@@ -1,3 +1,8 @@
+2003-06-26 David Shaw <[email protected]>
+
+ * keyserver.c (keyserver_spawn): Use ascii_isspace instead of
+ spacep since ascii_isspace includes \r and \n.
+
2003-06-24 David Shaw <[email protected]>
* signal.c, tdbio.c: Comment out the transaction code. It was not
diff --git a/g10/keyserver.c b/g10/keyserver.c
index 1b63664f0..2382f78f7 100644
--- a/g10/keyserver.c
+++ b/g10/keyserver.c
@@ -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';