1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 08:08:50 -05:00

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

This commit is contained in:
Gisle Vanem 2007-02-06 19:12:38 +00:00
parent fabbb3fc34
commit 078fc4186b

View File

@ -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;