summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@redhat.com>2012-03-22 10:35:14 +0800
committerDaniel Veillard <veillard@redhat.com>2012-03-22 10:35:14 +0800
commit8785a2ffd0d146df0395ab71ce4734d0a8ba0f7e (patch)
tree7550642453843b6c3781eaef810f5128aff2d229
parentadff7c36bde51aee2c1f12d1a85282e9302aa40d (diff)
downloadlibxslt-8785a2ffd0d146df0395ab71ce4734d0a8ba0f7e.tar.gz
libxslt-8785a2ffd0d146df0395ab71ce4734d0a8ba0f7e.tar.bz2
libxslt-8785a2ffd0d146df0395ab71ce4734d0a8ba0f7e.zip
Cleanup some misplaced spaces and tabs
-rw-r--r--xsltproc/xsltproc.c17
1 files changed, 8 insertions, 9 deletions
diff --git a/xsltproc/xsltproc.c b/xsltproc/xsltproc.c
index e9381061..8244ef3a 100644
--- a/xsltproc/xsltproc.c
+++ b/xsltproc/xsltproc.c
@@ -135,7 +135,7 @@ void parsePath(const xmlChar *path) {
xmlExternalEntityLoader defaultEntityLoader = NULL;
-static xmlParserInputPtr
+static xmlParserInputPtr
xsltprocExternalEntityLoader(const char *URL, const char *ID,
xmlParserCtxtPtr ctxt) {
xmlParserInputPtr ret;
@@ -186,10 +186,10 @@ xsltprocExternalEntityLoader(const char *URL, const char *ID,
ctxt->sax->warning = warning;
if (load_trace) {
fprintf \
- (stderr,
- "Loaded URL=\"%s\" ID=\"%s\"\n",
+ (stderr,
+ "Loaded URL=\"%s\" ID=\"%s\"\n",
newURL,
- ID ? ID : "(null)");
+ ID ? ID : "(null)");
}
xmlFree(newURL);
return(ret);
@@ -211,7 +211,7 @@ xsltprocExternalEntityLoader(const char *URL, const char *ID,
* Internal timing routines to remove the necessity to have unix-specific
* function calls
*/
-#ifndef HAVE_GETTIMEOFDAY
+#ifndef HAVE_GETTIMEOFDAY
#ifdef HAVE_SYS_TIMEB_H
#ifdef HAVE_SYS_TIME_H
#ifdef HAVE_FTIME
@@ -355,7 +355,7 @@ static void
xsltProcess(xmlDocPtr doc, xsltStylesheetPtr cur, const char *filename) {
xmlDocPtr res;
xsltTransformContextPtr ctxt;
-
+
#ifdef LIBXML_XINCLUDE_ENABLED
if (xinclude) {
@@ -746,7 +746,6 @@ main(int argc, char **argv)
} else if ((!strcmp(argv[i],"-dumpextensions"))||
(!strcmp(argv[i],"--dumpextensions"))) {
dumpextensions++;
-
} else {
fprintf(stderr, "Unknown option %s\n", argv[i]);
usage(argv[0]);
@@ -768,7 +767,7 @@ main(int argc, char **argv)
exsltRegisterAll();
xsltRegisterTestModule();
- if (dumpextensions)
+ if (dumpextensions)
xsltDebugDumpExtensions(NULL);
for (i = 1; i < argc; i++) {
@@ -811,7 +810,7 @@ main(int argc, char **argv)
if (timing)
startTimer();
style = xmlReadFile((const char *) argv[i], NULL, options);
- if (timing)
+ if (timing)
endTimer("Parsing stylesheet %s", argv[i]);
if (xincludestyle) {
if (style != NULL) {