summaryrefslogtreecommitdiff
path: root/sfeed_xmlenc.c
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2019-07-20 11:18:26 +0200
committerHiltjo Posthuma <hiltjo@codemadness.org>2019-07-20 11:18:26 +0200
commitfd1ff68884cab0a7eb2c2d5026ee92816881e2f4 (patch)
treee1852561fe34993b578391ca68bd5d235cf12eaa /sfeed_xmlenc.c
parent6c3732c740f98ef55b71e28ef4511739b3d1dced (diff)
use the same XML handler names as the fields and shorten variable names
Use the same XML handlers names as the fields to improve readability a bit. This is also consistent across all the programs using xml.c. Shorten the variable names aswell.
Diffstat (limited to 'sfeed_xmlenc.c')
-rw-r--r--sfeed_xmlenc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sfeed_xmlenc.c b/sfeed_xmlenc.c
index 2677468..ee62741 100644
--- a/sfeed_xmlenc.c
+++ b/sfeed_xmlenc.c
@@ -23,8 +23,8 @@ xmltagstart(XMLParser *p, const char *t, size_t tl)
}
static void
-xmlattr(XMLParser *p, const char *t, size_t tl, const char *n,
- size_t nl, const char *v, size_t vl)
+xmlattr(XMLParser *p, const char *t, size_t tl, const char *n, size_t nl,
+ const char *v, size_t vl)
{
if (strcasecmp(t, "?xml") || strcasecmp(n, "encoding"))
return;