mirror of
https://github.com/proxytunnel/proxytunnel.git
synced 2026-01-23 02:34:59 +00:00
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:
parent
bef1f87532
commit
2671f7049e
1 changed files with 7 additions and 5 deletions
12
cmdline.c
12
cmdline.c
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue