diff options
author | Volker Lendecke <vlendec@samba.org> | 2005-06-25 09:07:42 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 10:58:02 -0500 |
commit | ad54e2f0c201e227ddb3caf9bb66abc968c6dbce (patch) | |
tree | a77151550d21537a1d17e20f24211d10484439af /source3/ubiqx/debugparse.c | |
parent | ff7e5c26733c933d0ed71616c39e2d931ad1e597 (diff) | |
download | samba-ad54e2f0c201e227ddb3caf9bb66abc968c6dbce.tar.gz samba-ad54e2f0c201e227ddb3caf9bb66abc968c6dbce.tar.bz2 samba-ad54e2f0c201e227ddb3caf9bb66abc968c6dbce.zip |
r7902: Fix the build
(This used to be commit 6d431eb676e1df4cfdcbeaed5fa81adfbfc77325)
Diffstat (limited to 'source3/ubiqx/debugparse.c')
-rw-r--r-- | source3/ubiqx/debugparse.c | 12 |
1 files changed, 6 insertions, 6 deletions
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] ); } } |