aboutsummaryrefslogtreecommitdiff
path: root/ares
diff options
context:
space:
mode:
authorGisle Vanem <gvanem@broadpark.no>2008-01-02 05:30:52 +0000
committerGisle Vanem <gvanem@broadpark.no>2008-01-02 05:30:52 +0000
commitbf98b635cd4fccb1d5cc781fc9b47df7771afecf (patch)
tree74c14de26f1f808e4fbcb80b6b66149e72a3af47 /ares
parent7795eb6db8b359e7f7389000fcd693b4037fba08 (diff)
Added '-d' option for Watt-32 debugging.
Diffstat (limited to 'ares')
-rw-r--r--ares/acountry.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/ares/acountry.c b/ares/acountry.c
index e2c325574..e7029c8a3 100644
--- a/ares/acountry.c
+++ b/ares/acountry.c
@@ -93,9 +93,14 @@ int main(int argc, char **argv)
WSAStartup(wVersionRequested, &wsaData);
#endif
- while ((ch = ares_getopt(argc, argv, "vh?")) != -1)
+ while ((ch = ares_getopt(argc, argv, "dvh?")) != -1)
switch (ch)
{
+ case 'd':
+#ifdef WATT32
+ dbug_init();
+#endif
+ break;
case 'v':
verbose++;
break;