1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00

Modification to compile under egcs 2.91.63.

(This used to be commit d04c530836)
This commit is contained in:
Tim Potter 1999-04-11 00:27:43 +00:00
parent 9af6e69d93
commit 94928d4de7

View File

@ -28,7 +28,7 @@
* does a decent job of converting Samba logs into HTML. * does a decent job of converting Samba logs into HTML.
* -------------------------------------------------------------------------- ** * -------------------------------------------------------------------------- **
* *
* $Revision: 1.8 $ * $Revision: 1.9 $
* *
* ========================================================================== ** * ========================================================================== **
*/ */
@ -39,8 +39,8 @@
* Global values. * Global values.
*/ */
FILE *infile = stdin; FILE *infile;
FILE *outfile = stdout; FILE *outfile;
/* -------------------------------------------------------------------------- ** /* -------------------------------------------------------------------------- **
* The size of the read buffer. * The size of the read buffer.
@ -298,6 +298,9 @@ int main( int argc, char *argv[] )
if( argc > 3 ) if( argc > 3 )
usage(); usage();
infile = stdin;
outfile = stdout;
if( argc > 1 && 0 != strcmp( argv[1], "-" ) ) if( argc > 1 && 0 != strcmp( argv[1], "-" ) )
infile = carefull_fopen( argv[1], "r" ); infile = carefull_fopen( argv[1], "r" );