aboutsummaryrefslogtreecommitdiffstats
path: root/dirmngr
diff options
context:
space:
mode:
Diffstat (limited to 'dirmngr')
-rw-r--r--dirmngr/cdblib.c2
-rw-r--r--dirmngr/ldap-wrapper.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/dirmngr/cdblib.c b/dirmngr/cdblib.c
index 23cb317a5..52c17c98d 100644
--- a/dirmngr/cdblib.c
+++ b/dirmngr/cdblib.c
@@ -296,7 +296,7 @@ cdb_find(struct cdb *cdbp, const void *key, cdbi_t klen)
/* Sequential-find routines that used separate structure. It is
possible to have many than one record with the same key in a
- database, and these routines allows to enumerate all them.
+ database, and these routines allow enumeration of all of them.
cdb_findinit() initializes search structure pointed to by cdbfp.
It will return negative value on error or 0 on success. cdb_find�
next() attempts to find next matching key, setting value position
diff --git a/dirmngr/ldap-wrapper.c b/dirmngr/ldap-wrapper.c
index 55fcd8b1f..5fa3eac77 100644
--- a/dirmngr/ldap-wrapper.c
+++ b/dirmngr/ldap-wrapper.c
@@ -545,8 +545,8 @@ reader_callback (void *cb_value, char *buffer, size_t count, size_t *nread)
if (!buffer && !count && !nread)
return -1; /* Rewind is not supported. */
- /* If we ever encountered a read error don't allow to continue and
- possible overwrite the last error cause. Bail out also if the
+ /* If we ever encountered a read error, don't continue (we don't want to
+ possibly overwrite the last error cause). Bail out also if the
file descriptor has been closed. */
if (ctx->fd_error || ctx->fd == -1)
{