summaryrefslogtreecommitdiff
path: root/xmllint.c
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2004-02-19 12:58:36 +0000
committerDaniel Veillard <veillard@src.gnome.org>2004-02-19 12:58:36 +0000
commit49138f1933e51d692dc3c7d91d95cb295ebac325 (patch)
tree41a23c1bdf3d3993bc563761c4453aec7e628e8c /xmllint.c
parentb37440047e8f1103fe7322e623369c025862d1cf (diff)
downloadlibxml2-49138f1933e51d692dc3c7d91d95cb295ebac325.tar.gz
some clarification in xmlDocDumpMemory() documentation fixed xmllint
* tree.c: some clarification in xmlDocDumpMemory() documentation * xmllint.c: fixed xmllint --stream --timing to get timings back Daniel
Diffstat (limited to 'xmllint.c')
-rw-r--r--xmllint.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/xmllint.c b/xmllint.c
index 0e644e2d..5d1c03be 100644
--- a/xmllint.c
+++ b/xmllint.c
@@ -705,14 +705,19 @@ static void streamFile(char *filename) {
if ((timing) && (!repeat)) {
#ifdef LIBXML_SCHEMAS_ENABLED
if ((valid) || (relaxng != NULL))
+ endTimer("Parsing and validating");
+ else
+ endTimer("Parsing");
#else
#ifdef LIBXML_VALID_ENABLED
if (valid)
endTimer("Parsing and validating");
else
+ endTimer("Parsing");
+#else
+ endTimer("Parsing");
#endif /* LIBXML_VALID_ENABLED */
#endif
- endTimer("Parsing");
}
#ifdef LIBXML_VALID_ENABLED