equal
deleted
inserted
replaced
102 } |
102 } |
103 } |
103 } |
104 argc -= optind; |
104 argc -= optind; |
105 argv += optind; |
105 argv += optind; |
106 |
106 |
|
107 /* set timer vars for lines/sec counter */ |
|
108 if ( v.debugmode > 2 ) { |
|
109 v.timer.start = time( NULL ); |
|
110 v.timer.lines = 0; |
|
111 } |
|
112 |
107 /* get the initial database handle or bomb immediately. */ |
113 /* get the initial database handle or bomb immediately. */ |
108 if ( db_attach() != SQLITE_OK ) exit( 1 ); |
114 if ( db_attach() != SQLITE_OK ) exit( 1 ); |
109 |
115 |
110 /* enter stdin parsing loop */ |
116 /* enter stdin parsing loop */ |
111 return accept_loop(); |
117 return( accept_loop() ); |
112 } |
118 } |
113 |
119 |