summaryrefslogtreecommitdiffstats
path: root/common/homedir.c
diff options
context:
space:
mode:
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>2024-05-13 00:09:23 +0200
committerWerner Koch <wk@gnupg.org>2024-05-31 12:28:32 +0200
commit42b0e9558a308dbc954ee60c3d346b5cabcd2fdb (patch)
treef073776758cd706a0cadf0bd64073d1669a8d691 /common/homedir.c
parentg13: Adjust for changed gnupg_process_spawn. (diff)
downloadgnupg2-42b0e9558a308dbc954ee60c3d346b5cabcd2fdb.tar.xz
gnupg2-42b0e9558a308dbc954ee60c3d346b5cabcd2fdb.zip
indent: Fix spelling
-- These are non-substantive corrections for minor spelling mistakes within the GnuPG codebase. With something like this applied to the codebase, and a judiciously tuned spellchecker integrated as part of a standard test suite, it should be possible to keep a uniform orthography within the project. GnuPG-bug-id: 7116
Diffstat (limited to 'common/homedir.c')
-rw-r--r--common/homedir.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/homedir.c b/common/homedir.c
index deb6f3616..392910867 100644
--- a/common/homedir.c
+++ b/common/homedir.c
@@ -1089,7 +1089,7 @@ gnupg_daemon_rootdir (void)
n = GetSystemDirectoryA (path, sizeof path);
if (!n || n >= sizeof path)
- name = xstrdup ("/"); /* Error - use the curret top dir instead. */
+ name = xstrdup ("/"); /* Error - use the current top dir instead. */
else
name = xstrdup (path);
gpgrt_annotate_leaked_object (name);
@@ -1306,7 +1306,7 @@ _gnupg_socketdir_internal (int skip_checks, unsigned *r_info)
strcat (prefixbuffer, gnupgname);
}
- /* Check whether the gnupg sub directory (or the specified diretory)
+ /* Check whether the gnupg sub directory (or the specified directory)
* has proper permissions. */
if (stat (prefix, &sb))
{