Hello,

find attached a trivial patch against GIT head to fix some typoes.

cu Andreas

-- 
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'
>From 4257f7ceb59d4312d8754bdbd105c69e252833ed Mon Sep 17 00:00:00 2001
From: Andreas Metzler <[email protected]>
Date: Tue, 26 Jul 2016 19:43:11 +0200
Subject: [PATCH] Fix some typoes found by lintian.

---
 lib/ASN1.c       | 4 ++--
 lib/ASN1.y       | 4 ++--
 lib/parser_aux.c | 2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/lib/ASN1.c b/lib/ASN1.c
index b0504be..6ae3cfd 100644
--- a/lib/ASN1.c
+++ b/lib/ASN1.c
@@ -2757,7 +2757,7 @@ _asn1_create_errorDescription (int error, char *error_desc)
  *
  * Returns: %ASN1_SUCCESS if the file has a correct syntax and every
  *   identifier is known, %ASN1_ELEMENT_NOT_EMPTY if @definitions not
- *   %NULL, %ASN1_FILE_NOT_FOUND if an error occured while
+ *   %NULL, %ASN1_FILE_NOT_FOUND if an error occurred while
  *   opening @file, %ASN1_SYNTAX_ERROR if the syntax is not
  *   correct, %ASN1_IDENTIFIER_NOT_FOUND if in the file there is an
  *   identifier that is not defined, %ASN1_NAME_TOO_LONG if in the
@@ -2845,7 +2845,7 @@ asn1_parser2tree (const char *file, asn1_node * definitions,
  * will be "xx_asn1_tab".
  *
  * Returns: %ASN1_SUCCESS if the file has a correct syntax and every
- *   identifier is known, %ASN1_FILE_NOT_FOUND if an error occured
+ *   identifier is known, %ASN1_FILE_NOT_FOUND if an error occurred
  *   while opening @inputFileName, %ASN1_SYNTAX_ERROR if the syntax is
  *   not correct, %ASN1_IDENTIFIER_NOT_FOUND if in the file there is
  *   an identifier that is not defined, %ASN1_NAME_TOO_LONG if in the
diff --git a/lib/ASN1.y b/lib/ASN1.y
index 6db638f..acfee46 100644
--- a/lib/ASN1.y
+++ b/lib/ASN1.y
@@ -649,7 +649,7 @@ _asn1_create_errorDescription (int error, char *error_desc)
  *
  * Returns: %ASN1_SUCCESS if the file has a correct syntax and every
  *   identifier is known, %ASN1_ELEMENT_NOT_EMPTY if @definitions not
- *   %NULL, %ASN1_FILE_NOT_FOUND if an error occured while
+ *   %NULL, %ASN1_FILE_NOT_FOUND if an error occurred while
  *   opening @file, %ASN1_SYNTAX_ERROR if the syntax is not
  *   correct, %ASN1_IDENTIFIER_NOT_FOUND if in the file there is an
  *   identifier that is not defined, %ASN1_NAME_TOO_LONG if in the
@@ -737,7 +737,7 @@ asn1_parser2tree (const char *file, asn1_node * definitions,
  * will be "xx_asn1_tab".
  *
  * Returns: %ASN1_SUCCESS if the file has a correct syntax and every
- *   identifier is known, %ASN1_FILE_NOT_FOUND if an error occured
+ *   identifier is known, %ASN1_FILE_NOT_FOUND if an error occurred
  *   while opening @inputFileName, %ASN1_SYNTAX_ERROR if the syntax is
  *   not correct, %ASN1_IDENTIFIER_NOT_FOUND if in the file there is
  *   an identifier that is not defined, %ASN1_NAME_TOO_LONG if in the
diff --git a/lib/parser_aux.c b/lib/parser_aux.c
index 12ee16f..cfd76e0 100644
--- a/lib/parser_aux.c
+++ b/lib/parser_aux.c
@@ -84,7 +84,7 @@ _asn1_add_static_node (unsigned int type)
  * @name: null terminated string with the element's name to find.
  *
  * Searches for an element called @name starting from @pointer.  The
- * name is composed by differents identifiers separated by dots.  When
+ * name is composed by different identifiers separated by dots.  When
  * *@pointer has a name, the first identifier must be the name of
  * *@pointer, otherwise it must be the name of one child of *@pointer.
  *
-- 
2.8.1

Reply via email to