[GPGME PATCH 3/3] Fix spelling

Daniel Kahn Gillmor dkg at fifthhorseman.net
Fri Sep 23 01:06:22 CEST 2016


 * lang/cpp/src/context.h, lang/qt/src/protocol.h,
   lang/qt/src/wkspublishjob.h, src/data-identify.c, src/engine-gpg.c:
   minor spelling cleanup.

Signed-off-by: Daniel Kahn Gillmor <dkg at fifthhorseman.net>
---
 lang/cpp/src/context.h      | 4 ++--
 lang/qt/src/protocol.h      | 6 +++---
 lang/qt/src/wkspublishjob.h | 2 +-
 src/data-identify.c         | 2 +-
 src/engine-gpg.c            | 2 +-
 5 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/lang/cpp/src/context.h b/lang/cpp/src/context.h
index b1e4f5f..ab15a21 100644
--- a/lang/cpp/src/context.h
+++ b/lang/cpp/src/context.h
@@ -364,8 +364,8 @@ public:
      * @param file The executable to start.
      * @param argv list of arguments file should be argv[0].
      * @param input The data to be sent through stdin.
-     * @param output The data to be recieve the stdout.
-     * @param err The data to recieve stderr.
+     * @param output The data to be receive the stdout.
+     * @param err The data to receive stderr.
      * @param flags Additional flags.
      *
      * @returns An error or empty error.
diff --git a/lang/qt/src/protocol.h b/lang/qt/src/protocol.h
index 40ddcb5..15d83e0 100644
--- a/lang/qt/src/protocol.h
+++ b/lang/qt/src/protocol.h
@@ -76,7 +76,7 @@ class TofuPolicyJob;
  * two are always a QString for the auditlog and an GpgME::Error for
  * an eventual error.
  *
- * In case async API is used and the result signal is emited a
+ * In case async API is used and the result signal is emitted a
  * job schedules its own deletion.
  *
  * Most jobs also provide a synchronous call exec in which case
@@ -161,14 +161,14 @@ public:
 /** Obtain a reference to the OpenPGP Protocol.
  *
  * The reference is to a static object.
- * @returns Refrence to the OpenPGP Protocol.
+ * @returns Reference to the OpenPGP Protocol.
  */
 QGPGME_EXPORT Protocol *openpgp();
 
 /** Obtain a reference to the smime Protocol.
  *
  * The reference is to a static object.
- * @returns Refrence to the smime Protocol.
+ * @returns Reference to the smime Protocol.
  */
 QGPGME_EXPORT Protocol *smime();
 
diff --git a/lang/qt/src/wkspublishjob.h b/lang/qt/src/wkspublishjob.h
index 782112f..d7bcd5d 100644
--- a/lang/qt/src/wkspublishjob.h
+++ b/lang/qt/src/wkspublishjob.h
@@ -45,7 +45,7 @@ namespace QGpgME {
  * Handles Web Key Service Publishing. Needs WKS tools installed and
  * server support.
  *
- * Remember that after a result is emited the job is auto deleted
+ * Remember that after a result is emitted the job is auto deleted
  * so you can only use it for a single action.
  */
 class QGPGME_EXPORT WKSPublishJob: public Job
diff --git a/src/data-identify.c b/src/data-identify.c
index a5da7f5..615a4f3 100644
--- a/src/data-identify.c
+++ b/src/data-identify.c
@@ -278,7 +278,7 @@ pgp_binary_detection (const void *image_arg, size_t imagelen)
 
 /* This is probably an armored "PGP MESSAGE" which can encode
  * different PGP data types.  STRING is modified after a call to this
- * fucntion. */
+ * function. */
 static gpgme_data_type_t
 inspect_pgp_message (char *string)
 {
diff --git a/src/engine-gpg.c b/src/engine-gpg.c
index 3f1d34d..4415c94 100644
--- a/src/engine-gpg.c
+++ b/src/engine-gpg.c
@@ -2543,7 +2543,7 @@ gpg_keylist_build_options (engine_gpg_t gpg, int secret_only,
   err = add_arg (gpg, "--with-colons");
 
   /* Since gpg 2.1.15 fingerprints are always printed, thus there is
-   * no more need to explictly request them.  */
+   * no more need to explicitly request them.  */
   if (!have_gpg_version (gpg, "2.1.15"))
     {
       if (!err)
-- 
2.9.3




More information about the Gnupg-devel mailing list