ongrep

A cleaned up fork of ngrep for OpenBSD
git clone git://git.sgregoratto.me/ongrep
Log | Files | Refs | README | LICENSE

commit d1f4d3521898f1204da517e2801fcdfdd13f59c6
parent f1d305208cc08c9940c3f28dfb24bf3843bbbe59
Author: Jordan Ritter <jpr5@darkridge.com>
Date:   Mon, 11 Sep 2006 09:05:09 +0000

only #define windowsize variables if not on win32

Diffstat:
Mngrep.c | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/ngrep.c b/ngrep.c @@ -176,8 +176,9 @@ void (*print_time)() = NULL, (*dump_delay)() = dump_delay_proc_init; * When !Win32, windowsize stuff */ +#if !defined(_WIN32) uint32_t ws_row, ws_col = 80, ws_col_forced = 0; - +#endif int main(int argc, char **argv) { int32_t c;