summaryrefslogtreecommitdiff
path: root/source3/utils/debug2html.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1998-11-13 03:37:01 +0000
committerAndrew Tridgell <tridge@samba.org>1998-11-13 03:37:01 +0000
commit2db96e3047400be594e7c5ebf7d6fcedb77f6907 (patch)
tree4a3c3d2e2062b9aaf86d7b6ef9b827b60a6189ac /source3/utils/debug2html.c
parent2164685b9f959814af2067aa0dcac2d1b2ac0bc5 (diff)
downloadsamba-2db96e3047400be594e7c5ebf7d6fcedb77f6907.tar.gz
samba-2db96e3047400be594e7c5ebf7d6fcedb77f6907.tar.bz2
samba-2db96e3047400be594e7c5ebf7d6fcedb77f6907.zip
fixes for OSF1 compilation
(This used to be commit 5be3c37f50eac35cad3eadf0d24e7a4ee04c075e)
Diffstat (limited to 'source3/utils/debug2html.c')
-rw-r--r--source3/utils/debug2html.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/source3/utils/debug2html.c b/source3/utils/debug2html.c
index 00c6306fcf..fa2be41336 100644
--- a/source3/utils/debug2html.c
+++ b/source3/utils/debug2html.c
@@ -29,6 +29,9 @@
* -------------------------------------------------------------------------- **
*
* $Log: debug2html.c,v $
+ * Revision 1.4 1998/11/13 03:37:01 tridge
+ * fixes for OSF1 compilation
+ *
* Revision 1.3 1998/10/28 20:33:35 crh
* I've moved the debugparse module files into the ubiqx directory because I
* know that 'make proto' will ignore them there. The debugparse.h header
@@ -61,7 +64,7 @@
* The size of the read buffer.
*/
-#define BSIZE 1024
+#define DBG_BSIZE 1024
/* -------------------------------------------------------------------------- **
* Functions...
@@ -219,7 +222,7 @@ int main( int argc, char *argv[] )
{
int i;
int len;
- char bufr[BSIZE];
+ char bufr[DBG_BSIZE];
dbg_Token old = dbg_null,
new = dbg_null,
state = dbg_null,
@@ -230,7 +233,7 @@ int main( int argc, char *argv[] )
(void)printf( " <TITLE>Samba Debug Output</TITLE>\n</HEAD>\n\n<BODY>\n" );
while( (!feof( stdin ))
- && ((len = fread( bufr, 1, BSIZE, stdin )) > 0) )
+ && ((len = fread( bufr, 1, DBG_BSIZE, stdin )) > 0) )
{
for( i = 0; i < len; i++ )
{