Added '-d' option for Watt32 targets. Added cvs id.

pull/1/head
Gisle Vanem 18 years ago
parent dd8b7df5dd
commit d4bc2387b5
  1. 10
      adig.c

@ -1,4 +1,6 @@
/* Copyright 1998 by the Massachusetts Institute of Technology. /* Copyright 1998 by the Massachusetts Institute of Technology.
*
* $Id$
* *
* Permission to use, copy, modify, and distribute this * Permission to use, copy, modify, and distribute this
* software and its documentation for any purpose and without * software and its documentation for any purpose and without
@ -162,10 +164,16 @@ int main(int argc, char **argv)
options.flags = ARES_FLAG_NOCHECKRESP; options.flags = ARES_FLAG_NOCHECKRESP;
options.servers = NULL; options.servers = NULL;
options.nservers = 0; 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) switch (c)
{ {
case 'd':
#ifdef WATT32
dbug_init();
#endif
break;
case 'f': case 'f':
/* Add a flag. */ /* Add a flag. */
for (i = 0; i < nflags; i++) for (i = 0; i < nflags; i++)

Loading…
Cancel
Save