aboutsummaryrefslogtreecommitdiffstats
path: root/g10/tdbio.c
diff options
context:
space:
mode:
authorDaniel Kahn Gillmor <[email protected]>2018-10-24 19:56:18 +0000
committerDaniel Kahn Gillmor <[email protected]>2018-10-24 19:56:18 +0000
commit54eb375ff14e2a93cea70eab35719be4d25f51ca (patch)
tree99a6159cfc9cc26696ddd5c842095fd046cb8d6e /g10/tdbio.c
parentdoc: fix spelling mistakes (diff)
downloadgnupg-54eb375ff14e2a93cea70eab35719be4d25f51ca.tar.gz
gnupg-54eb375ff14e2a93cea70eab35719be4d25f51ca.zip
all: fix spelling and typos
Signed-off-by: Daniel Kahn Gillmor <[email protected]>
Diffstat (limited to 'g10/tdbio.c')
-rw-r--r--g10/tdbio.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/g10/tdbio.c b/g10/tdbio.c
index 8f7530621..b6c38bd24 100644
--- a/g10/tdbio.c
+++ b/g10/tdbio.c
@@ -106,7 +106,7 @@ struct cmp_xdir_struct
static char *db_name;
/* The handle for locking the trustdb file and a counter to record how
- * often this lock has been taken. That counter is required becuase
+ * often this lock has been taken. That counter is required because
* dotlock does not implemen recursive locks. */
static dotlock_t lockhandle;
static unsigned int is_locked;
@@ -589,7 +589,7 @@ tdbio_update_version_record (ctrl_t ctrl)
/*
* Create and write the trustdb version record.
- * This is called with the writelock activ.
+ * This is called with the writelock active.
* Returns: 0 on success or an error code.
*/
static int
@@ -1139,7 +1139,7 @@ upd_hashtable (ctrl_t ctrl, ulong table, byte *key, int keylen, ulong newrecnum)
if (rec.r.hlst.next)
{
- /* read the next reord of the list. */
+ /* read the next record of the list. */
rc = tdbio_read_record (rec.r.hlst.next, &rec, RECTYPE_HLST);
if (rc)
{