diff options
author | Gisle Vanem <gvanem@broadpark.no> | 2006-10-25 14:13:35 +0000 |
---|---|---|
committer | Gisle Vanem <gvanem@broadpark.no> | 2006-10-25 14:13:35 +0000 |
commit | d4bc2387b5c2d831fa091185b974620cf46ab0f0 (patch) | |
tree | 62ada68a1154a2c213e85fd546784e5f0c33ec9b /adig.c | |
parent | dd8b7df5dda0a7499903def47d9210951b6745a9 (diff) | |
download | c-ares-d4bc2387b5c2d831fa091185b974620cf46ab0f0.tar.gz c-ares-d4bc2387b5c2d831fa091185b974620cf46ab0f0.tar.bz2 c-ares-d4bc2387b5c2d831fa091185b974620cf46ab0f0.zip |
Added '-d' option for Watt32 targets. Added cvs id.
Diffstat (limited to 'adig.c')
-rw-r--r-- | adig.c | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -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++) |