From d04c530836202ca2277176341261b3ac78f4956a Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Sun, 11 Apr 1999 00:27:43 +0000 Subject: [PATCH] Modification to compile under egcs 2.91.63. --- source/utils/debug2html.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/source/utils/debug2html.c b/source/utils/debug2html.c index 62ecacf7e89..ef7201168fa 100644 --- a/source/utils/debug2html.c +++ b/source/utils/debug2html.c @@ -28,7 +28,7 @@ * does a decent job of converting Samba logs into HTML. * -------------------------------------------------------------------------- ** * - * $Revision: 1.8 $ + * $Revision: 1.9 $ * * ========================================================================== ** */ @@ -39,8 +39,8 @@ * Global values. */ -FILE *infile = stdin; -FILE *outfile = stdout; +FILE *infile; +FILE *outfile; /* -------------------------------------------------------------------------- ** * The size of the read buffer. @@ -298,6 +298,9 @@ int main( int argc, char *argv[] ) if( argc > 3 ) usage(); + infile = stdin; + outfile = stdout; + if( argc > 1 && 0 != strcmp( argv[1], "-" ) ) infile = carefull_fopen( argv[1], "r" );