[xml] [PATCH] Fix typos in {tree,xpath}.c (errror)



Signed-off-by: Jan Pokorný <jpokorny redhat com>
---
 tree.c  | 2 +-
 xpath.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/tree.c b/tree.c
index b0c1372..00e6b40 100644
--- a/tree.c
+++ b/tree.c
@@ -7962,7 +7962,7 @@ xmlDOMWrapStoreNs(xmlDocPtr doc,
 *
 * Allocates and initializes a new DOM-wrapper context.
 *
-* Returns the xmlDOMWrapCtxtPtr or NULL in case of an internal errror.
+* Returns the xmlDOMWrapCtxtPtr or NULL in case of an internal error.
 */
 xmlDOMWrapCtxtPtr
 xmlDOMWrapNewCtxt(void)
diff --git a/xpath.c b/xpath.c
index 1f56b96..6ae2ef1 100644
--- a/xpath.c
+++ b/xpath.c
@@ -618,7 +618,7 @@ static const char *xmlXPathErrorMessages[] = {
     "Encoding error\n",
     "Char out of XML range\n",
     "Invalid or incomplete context\n",
-    "Stack usage errror\n",
+    "Stack usage error\n",
     "Forbidden variable\n",
     "?? Unknown error ??\n"    /* Must be last in the list! */
 };
-- 
1.8.1.4



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]