]> git.ipfire.org Git - thirdparty/FORT-validator.git/commit
Simplify XML reader error handler 137/head
authorLucio Sauer <watermanpaint@posteo.net>
Sun, 2 Jun 2024 23:28:35 +0000 (01:28 +0200)
committerLucio Sauer <watermanpaint@posteo.net>
Sun, 2 Jun 2024 23:53:09 +0000 (01:53 +0200)
commit2027900f550c2b9e80b5b1dd728bffdb5d743e2a
tree6fbef71bb2292eddb48dfbd86d32956960b09b42
parent58a94fccf94869f0c8462230479f2d6559d16ec7
Simplify XML reader error handler

No need to check if ptr[strlen(ptr) - 1] is '\n' because because C
strings always end with a null-byte.
src/xml/relax_ng.c