diff options
author | The Android Open Source Project <initial-contribution@android.com> | 2009-02-10 15:43:59 -0800 |
---|---|---|
committer | The Android Open Source Project <initial-contribution@android.com> | 2009-02-10 15:43:59 -0800 |
commit | 15078382e0325b29af4eeb6ec267ad3a8eeaa8b5 (patch) | |
tree | 7ed686be807c3cce93be58daaf49169a94a21b04 | |
parent | 6fc2e7182a81d3665e5233a6555fc6c1960b6b8a (diff) | |
download | netcat-15078382e0325b29af4eeb6ec267ad3a8eeaa8b5.tar.gz |
auto import from //branches/cupcake/...@130745
-rw-r--r-- | netcat.c | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -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 <stdlib.h> @@ -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; |