diff -r bdf20e6eefd7 -r d07309450285 main.c --- a/main.c Wed Sep 28 09:04:16 2011 -0700 +++ b/main.c Mon Oct 17 09:12:00 2011 -0700 @@ -104,10 +104,16 @@ argc -= optind; argv += optind; + /* set timer vars for lines/sec counter */ + if ( v.debugmode > 2 ) { + v.timer.start = time( NULL ); + v.timer.lines = 0; + } + /* get the initial database handle or bomb immediately. */ if ( db_attach() != SQLITE_OK ) exit( 1 ); /* enter stdin parsing loop */ - return accept_loop(); + return( accept_loop() ); }