From 15078382e0325b29af4eeb6ec267ad3a8eeaa8b5 Mon Sep 17 00:00:00 2001 From: The Android Open Source Project Date: Tue, 10 Feb 2009 15:43:59 -0800 Subject: auto import from //branches/cupcake/...@130745 --- netcat.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'netcat.c') diff --git a/netcat.c b/netcat.c index 6c67718..e6b8a1b 100644 --- a/netcat.c +++ b/netcat.c @@ -30,10 +30,14 @@ /* conditional includes -- a very messy section which you may have to dink for your own architecture [and please send diffs...]: */ -/* #undef _POSIX_SOURCE /* might need this for something? */ +#if 0 +#undef _POSIX_SOURCE /* might need this for something? */ +#endif #define HAVE_BIND /* ASSUMPTION -- seems to work everywhere! */ #define HAVE_HELP /* undefine if you dont want the help text */ -/* #define ANAL /* if you want case-sensitive DNS matching */ +#if 0 +#define ANAL /* if you want case-sensitive DNS matching */ +#endif #ifdef HAVE_STDLIB_H #include @@ -1631,6 +1635,7 @@ Debug (("netfd %d from port %d to port %d", netfd, ourport, curport)) #ifdef HAVE_HELP /* unless we wanna be *really* cryptic */ /* helpme : the obvious */ +void helpme() { o_verbose = 1; -- cgit v1.2.3