diff options
author | Tim Potter <tpot@samba.org> | 1999-04-11 00:27:43 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 1999-04-11 00:27:43 +0000 |
commit | 94928d4de7881cdf3655bcd4cb9b01608e7452aa (patch) | |
tree | 7ce97e764787fce9b465cdc3b82d6c5150fe12ad | |
parent | 9af6e69d93e79d1d34673a9c27152d2a97fa4a30 (diff) | |
download | samba-94928d4de7881cdf3655bcd4cb9b01608e7452aa.tar.gz samba-94928d4de7881cdf3655bcd4cb9b01608e7452aa.tar.bz2 samba-94928d4de7881cdf3655bcd4cb9b01608e7452aa.zip |
Modification to compile under egcs 2.91.63.
(This used to be commit d04c530836202ca2277176341261b3ac78f4956a)
-rw-r--r-- | source3/utils/debug2html.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/source3/utils/debug2html.c b/source3/utils/debug2html.c index 62ecacf7e8..ef7201168f 100644 --- a/source3/utils/debug2html.c +++ b/source3/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" ); |