aboutsummaryrefslogtreecommitdiff
path: root/ares/ahost.c
diff options
context:
space:
mode:
Diffstat (limited to 'ares/ahost.c')
-rw-r--r--ares/ahost.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/ares/ahost.c b/ares/ahost.c
index 8f6b671af..35bd7b0f4 100644
--- a/ares/ahost.c
+++ b/ares/ahost.c
@@ -78,10 +78,16 @@ int main(int argc, char **argv)
WSAStartup(wVersionRequested, &wsaData);
#endif
- while ((c = getopt(argc,argv,"t:h")) != -1)
+ while ((c = getopt(argc,argv,"dt:h")) != -1)
{
switch (c)
{
+ case 'd':
+#ifdef WATT32
+ dbug_init();
+#endif
+ break;
+
case 't':
if (!strcasecmp(optarg,"a"))
addr_family = AF_INET;