mirror of
https://github.com/proxytunnel/proxytunnel.git
synced 2026-01-23 02:34:59 +00:00
Read http_proxy before HTTP_PROXY env var
git-svn-id: https://proxytunnel.svn.sourceforge.net/svnroot/proxytunnel/trunk/proxytunnel@246 bc163920-b10d-0410-b2c5-a5491ca2ceef
This commit is contained in:
parent
6b408ebd03
commit
b7006ddbcb
1 changed files with 1 additions and 1 deletions
|
|
@ -460,7 +460,7 @@ int cmdline_parser( int argc, char * const *argv, struct gengetopt_args_info *ar
|
|||
}
|
||||
|
||||
if ( args_info->proxy_arg == NULL ) {
|
||||
if ( (tmp = getenv("HTTP_PROXY")) != NULL ) {
|
||||
if ( ((tmp = getenv("http_proxy")) != NULL) || ((tmp = getenv("HTTP_PROXY")) != NULL) ) {
|
||||
int r;
|
||||
char * temp;
|
||||
temp = malloc( 56+1 );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue