summaryrefslogtreecommitdiff
path: root/catalog.c
diff options
context:
space:
mode:
authorJan Pokorný <jpokorny@redhat.com>2016-04-13 16:56:06 +0200
committerDaniel Veillard <veillard@redhat.com>2016-04-15 22:22:43 +0800
commit9811ce7864a5362492ed0e14a8a6df776d5b8413 (patch)
tree121bcc0c8ca50b73f95d653b010b86cf3e8a517c /catalog.c
parentd5bd2a9a4064e1d0da6367bb0ee4de7d337964bf (diff)
downloadlibxml2-9811ce7864a5362492ed0e14a8a6df776d5b8413.tar.gz
Fix typos: PATH_{ SEAPARATOR -> SEPARATOR }
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
Diffstat (limited to 'catalog.c')
-rw-r--r--catalog.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/catalog.c b/catalog.c
index 5773db3d..ac6e9815 100644
--- a/catalog.c
+++ b/catalog.c
@@ -47,9 +47,9 @@
#define MAX_CATAL_DEPTH 50
#ifdef _WIN32
-# define PATH_SEAPARATOR ';'
+# define PATH_SEPARATOR ';'
#else
-# define PATH_SEAPARATOR ':'
+# define PATH_SEPARATOR ':'
#endif
/**
@@ -3247,7 +3247,7 @@ xmlLoadCatalogs(const char *pathss) {
while (xmlIsBlank_ch(*cur)) cur++;
if (*cur != 0) {
paths = cur;
- while ((*cur != 0) && (*cur != PATH_SEAPARATOR) && (!xmlIsBlank_ch(*cur)))
+ while ((*cur != 0) && (*cur != PATH_SEPARATOR) && (!xmlIsBlank_ch(*cur)))
cur++;
path = xmlStrndup((const xmlChar *)paths, cur - paths);
#ifdef _WIN32
@@ -3263,7 +3263,7 @@ xmlLoadCatalogs(const char *pathss) {
xmlFree(path);
}
}
- while (*cur == PATH_SEAPARATOR)
+ while (*cur == PATH_SEPARATOR)
cur++;
}
}