diff options
author | rofl0r <retnyg@gmx.net> | 2018-02-25 15:53:43 +0000 |
---|---|---|
committer | rofl0r <rofl0r@users.noreply.github.com> | 2018-02-25 23:52:23 +0000 |
commit | 39132b978707fc284199b2b947af6c8c846cade8 (patch) | |
tree | 664e9dd1f292b647116d987a78c875ab689435b3 /src/conf.c | |
parent | 86632a91eb65d6b3df7bcdaebef3e1ea4e3a568a (diff) |
rename members of proxy_type enum to have a common prefix
and add a NONE member.
Diffstat (limited to 'src/conf.c')
-rw-r--r-- | src/conf.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -1137,17 +1137,17 @@ static int _handle_upstream(struct config_s* conf, const char* line, static HANDLE_FUNC (handle_upstream) { - return _handle_upstream(conf, line, match, HTTP_TYPE); + return _handle_upstream(conf, line, match, PT_HTTP); } static HANDLE_FUNC (handle_upstream4) { - return _handle_upstream(conf, line, match, SOCKS4_TYPE); + return _handle_upstream(conf, line, match, PT_SOCKS4); } static HANDLE_FUNC (handle_upstream5) { - return _handle_upstream(conf, line, match, SOCKS5_TYPE); + return _handle_upstream(conf, line, match, PT_SOCKS5); } static HANDLE_FUNC (handle_upstream_no) @@ -1158,7 +1158,7 @@ static HANDLE_FUNC (handle_upstream_no) if (!domain) return -1; - upstream_add (NULL, 0, domain, 0, 0, HTTP_TYPE, &conf->upstream_list); + upstream_add (NULL, 0, domain, 0, 0, PT_HTTP, &conf->upstream_list); safefree (domain); return 0; |