ongrep

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

commit af8c6409fc93335a76b41ee2d12de06c71667477
parent d6f7751201a16e53db6108f62a1b6e9e021dfa7d
Author: Jordan Ritter <jpr5@darkridge.com>
Date:   Tue,  3 Oct 2000 15:34:18 +0000

guess I missed removing the cast..

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

diff --git a/ngrep.c b/ngrep.c @@ -271,7 +271,7 @@ int main(int argc, char **argv) { match_data = word_regex; } - (const char *)re_err = re_compile_pattern(match_data, strlen(match_data), &pattern); + re_err = re_compile_pattern(match_data, strlen(match_data), &pattern); if (re_err) { fprintf(stderr, "regex compile: %s\n", re_err); clean_exit(-1);