Changeset 2149506c942876bb56cadc9448c64b2c558b6bd5
- Timestamp:
- 04/05/07 23:48:04
(2 years ago)
- Author:
- Antoine Cellerier <dionoea@videolan.org>
- git-committer:
- Antoine Cellerier <dionoea@videolan.org> 1178315284 +0000
- git-parent:
[d849f0bc4be00adb17f707751dbe9b27158e09c6]
- git-author:
- Antoine Cellerier <dionoea@videolan.org> 1178315284 +0000
- Message:
* mmsh.c: Try using the http-proxy config option if mmsh-proxy wasn't set (Untested).
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| rc3ec36d |
r2149506 |
|
| 42 | 42 | |
|---|
| 43 | 43 | /* TODO: |
|---|
| 44 | | * - http_proxy |
|---|
| 45 | 44 | * - authentication |
|---|
| 46 | 45 | */ |
|---|
| … | … | |
| 105 | 104 | /* TODO reuse instead http-proxy from http access ? */ |
|---|
| 106 | 105 | psz_proxy = var_CreateGetString( p_access, "mmsh-proxy" ); |
|---|
| | 106 | if( !*psz_proxy ) |
|---|
| | 107 | { |
|---|
| | 108 | char *psz_http_proxy = config_GetPsz( p_access, "http-proxy" ); |
|---|
| | 109 | if( psz_http_proxy && *psz_http_proxy ) |
|---|
| | 110 | { |
|---|
| | 111 | free( psz_proxy ); |
|---|
| | 112 | psz_proxy = psz_http_proxy; |
|---|
| | 113 | var_SetString( p_access, "mmsh-proxy", psz_proxy ); |
|---|
| | 114 | } |
|---|
| | 115 | else |
|---|
| | 116 | { |
|---|
| | 117 | free( psz_http_proxy ); |
|---|
| | 118 | } |
|---|
| | 119 | } |
|---|
| 107 | 120 | if( *psz_proxy ) |
|---|
| 108 | 121 | { |
|---|