diff options
author | orbitcowboy <ettl.martin78@googlemail.com> | 2022-04-01 16:37:13 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-01 16:37:13 +0200 |
commit | 4ead0836c56c906e1f3df04af7c5a5d5afa58d82 (patch) | |
tree | d03818b79f4a3d49710dcd4a820ac92f9b28991a | |
parent | f1b05559cc5291a87dcdca8e139b2d432ac207f3 (diff) | |
download | expat-4ead0836c56c906e1f3df04af7c5a5d5afa58d82.tar.gz |
Fixed typo in nsattcmp attribute handling
-rw-r--r-- | expat/xmlwf/xmlwf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/expat/xmlwf/xmlwf.c b/expat/xmlwf/xmlwf.c index b0cd212f..3a6b8bad 100644 --- a/expat/xmlwf/xmlwf.c +++ b/expat/xmlwf/xmlwf.c @@ -217,7 +217,7 @@ nsattcmp(const void *p1, const void *p2) { const XML_Char *att1 = *(const XML_Char **)p1; const XML_Char *att2 = *(const XML_Char **)p2; int sep1 = (tcsrchr(att1, NSSEP) != 0); - int sep2 = (tcsrchr(att1, NSSEP) != 0); + int sep2 = (tcsrchr(att2, NSSEP) != 0); if (sep1 != sep2) return sep1 - sep2; return tcscmp(att1, att2); |