From ad54e2f0c201e227ddb3caf9bb66abc968c6dbce Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sat, 25 Jun 2005 09:07:42 +0000 Subject: r7902: Fix the build (This used to be commit 6d431eb676e1df4cfdcbeaed5fa81adfbfc77325) --- source3/ubiqx/debugparse.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'source3/ubiqx') diff --git a/source3/ubiqx/debugparse.c b/source3/ubiqx/debugparse.c index 195fc245bc..c5fe3e2ee8 100644 --- a/source3/ubiqx/debugparse.c +++ b/source3/ubiqx/debugparse.c @@ -262,16 +262,16 @@ void dbg_test( void ) int i; int linecount = 1; dbg_Token old = dbg_null, - new = dbg_null, + newtok= dbg_null, state = dbg_null; while( fgets( bufr, DBG_BSIZE, stdin ) ) { for( i = 0; bufr[i]; i++ ) { - old = new; - new = dbg_char2token( &state, bufr[i] ); - switch( new ) + old = newtok; + newtok = dbg_char2token( &state, bufr[i] ); + switch( newtok ) { case dbg_header: if( linecount > 1 ) @@ -283,8 +283,8 @@ void dbg_test( void ) case dbg_ignore: break; default: - if( old != new ) - (void)printf( "\n[%05d]%12s: ", linecount, dbg_token2string(new) ); + if( old != newtok ) + (void)printf( "\n[%05d]%12s: ", linecount, dbg_token2string(newtok) ); (void)putchar( bufr[i] ); } } -- cgit