aboutsummaryrefslogtreecommitdiff
path: root/ares
diff options
context:
space:
mode:
authorGisle Vanem <gvanem@broadpark.no>2006-10-25 14:13:35 +0000
committerGisle Vanem <gvanem@broadpark.no>2006-10-25 14:13:35 +0000
commit6296b893198be0c65233456b7b06e3a117011d01 (patch)
tree75bfe37c355fee40b434e4893ed0aea7ab5f676f /ares
parent5450db91514e28d1ab76bada9f875219e25d7e44 (diff)
Added '-d' option for Watt32 targets. Added cvs id.
Diffstat (limited to 'ares')
-rw-r--r--ares/adig.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/ares/adig.c b/ares/adig.c
index a0f622abd..494386ff4 100644
--- a/ares/adig.c
+++ b/ares/adig.c
@@ -1,5 +1,7 @@
/* Copyright 1998 by the Massachusetts Institute of Technology.
*
+ * $Id$
+ *
* Permission to use, copy, modify, and distribute this
* software and its documentation for any purpose and without
* fee is hereby granted, provided that the above copyright
@@ -162,10 +164,16 @@ int main(int argc, char **argv)
options.flags = ARES_FLAG_NOCHECKRESP;
options.servers = NULL;
options.nservers = 0;
- while ((c = getopt(argc, argv, "f:s:c:t:T:U:")) != -1)
+ while ((c = getopt(argc, argv, "df:s:c:t:T:U:")) != -1)
{
switch (c)
{
+ case 'd':
+#ifdef WATT32
+ dbug_init();
+#endif
+ break;
+
case 'f':
/* Add a flag. */
for (i = 0; i < nflags; i++)