Make quiet the default output for Windows.

git-svn-id: https://proxytunnel.svn.sourceforge.net/svnroot/proxytunnel/trunk/proxytunnel@185 bc163920-b10d-0410-b2c5-a5491ca2ceef
This commit is contained in:
Dag Wieers 2008-01-20 21:59:53 +00:00
parent bef1f87532
commit 2671f7049e

View file

@ -135,12 +135,7 @@ int cmdline_parser( int argc, char * const *argv, struct gengetopt_args_info *ar
args_info->verbose_given = 0;
args_info->ntlm_given = 0;
args_info->inetd_given = 0;
/* For Windows+Putty we cannot allow output by default. -- Dag */
#ifdef CYGWIN
args_info->quiet_given = 1;
#else
args_info->quiet_given = 0;
#endif
args_info->header_given = 0;
args_info->domain_given = 0;
args_info->encrypt_given = 0;
@ -452,6 +447,13 @@ int cmdline_parser( int argc, char * const *argv, struct gengetopt_args_info *ar
exit (0);
}
/* For Windows quiet is the default output. -- Dag */
#ifdef CYGWIN
if (! args_info->verbose_flag ) {
args_info->quiet_flag = 1;
}
#endif
if (args_info->proxy_given )
{
char * phost;