Skip to content
Snippets Groups Projects
Commit 078fc418 authored by Gisle Vanem's avatar Gisle Vanem
Browse files

Added debug option ('-d') for Watt-32 programs.

parent fabbb3fc
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment