summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Bergli Heier <snakebite@jvnv.net>2010-06-02 17:58:34 +0200
committerJon Bergli Heier <snakebite@jvnv.net>2010-06-02 17:58:34 +0200
commit75414a04559846bb9cac4dda13bdec26eb6a8d2f (patch)
treea36d580701ac54c9a1a63e32c25c1bdd8eb5cb14
parentb7973300b7f7603c9c0648941d8c4a1c0bf66c0c (diff)
Fixed word count i XML output.
-rw-r--r--export_xml.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/export_xml.c b/export_xml.c
index 051ca92..1bed18b 100644
--- a/export_xml.c
+++ b/export_xml.c
@@ -109,7 +109,7 @@ int export_xml(struct channel_t *channel, struct user_t *users) {
xmlTextWriterWriteString(writer, (const xmlChar*)word->name);
xmlTextWriterEndElement(writer);
- xmlTextWriterStartElement(writer, (const xmlChar*)"name");
+ xmlTextWriterStartElement(writer, (const xmlChar*)"count");
xmlTextWriterWriteFormatString(writer, "%llu", word->count);
xmlTextWriterEndElement(writer);