summaryrefslogtreecommitdiffstats
path: root/agent/learncard.c
diff options
context:
space:
mode:
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>2016-08-02 04:19:15 +0200
committerJustus Winter <justus@g10code.com>2016-08-03 16:54:01 +0200
commitcd45cf782b91ff0f6b023913963e5258ffcbf464 (patch)
treec4330fab916b258fb2ac979b6dae9a2fa584b577 /agent/learncard.c
parentgpg,gpgsm: Block signals during keyring/keybox update. (diff)
downloadgnupg2-cd45cf782b91ff0f6b023913963e5258ffcbf464.tar.xz
gnupg2-cd45cf782b91ff0f6b023913963e5258ffcbf464.zip
Fix spelling and grammar.
* agent/learncard.c: s/coccured/occurred/ * doc/dirmngr.texi: s/ommitted/omitted/, s/orginally/originally/, s/reponses/responses/i * doc/gpg-agent.texi, doc/dirmngr.texi, doc/gpg.texi: Fix "allows to" to more conventional english usage. * doc/tools.texi, g10/gpgcommpose.c, tests/openpgp/armor.scm, tests/openpgp/armor.test: s/occured/occurred/ * tools/gpgsplit.c: s/calcualting/calculating/ * sm/server.c: s/formated/formatted/ Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
Diffstat (limited to 'agent/learncard.c')
-rw-r--r--agent/learncard.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/agent/learncard.c b/agent/learncard.c
index e0f23400d..e9304fb8b 100644
--- a/agent/learncard.c
+++ b/agent/learncard.c
@@ -133,7 +133,7 @@ kpinfo_cb (void *opaque, const char *line)
char *p;
if (parm->error)
- return; /* no need to gather data after an error coccured */
+ return; /* no need to gather data after an error occurred */
if ((parm->error = agent_write_status (parm->ctrl, "PROGRESS",
"learncard", "k", "0", "0", NULL)))
@@ -190,7 +190,7 @@ certinfo_cb (void *opaque, const char *line)
char *p, *pend;
if (parm->error)
- return; /* no need to gather data after an error coccured */
+ return; /* no need to gather data after an error occurred */
if ((parm->error = agent_write_status (parm->ctrl, "PROGRESS",
"learncard", "c", "0", "0", NULL)))
@@ -232,7 +232,7 @@ sinfo_cb (void *opaque, const char *keyword, size_t keywordlen,
SINFO item;
if (sparm->error)
- return; /* no need to gather data after an error coccured */
+ return; /* no need to gather data after an error occurred */
item = xtrycalloc (1, sizeof *item + keywordlen + 1 + strlen (data));
if (!item)