diff options
author | Nick White <arch@njw.me.uk> | 2008-05-01 03:02:25 +0000 |
---|---|---|
committer | Nick White <arch@njw.me.uk> | 2008-05-01 03:02:25 +0000 |
commit | 5141482351a3373472fc9974cd6059ff254dcf27 (patch) | |
tree | ff442e9ddc0123c19f63e1244543c396635f154b /src/getht.c | |
parent | 8e215729e7f45b1c9e17f8451046b7b5c04943e6 (diff) |
Simplified proxy setting internals
Taking advantage of CURL's pre-packaged constants for proxy options
git-archimport-id: getht@sv.gnu.org/getht--mainline--0.1--patch-44
Diffstat (limited to 'src/getht.c')
-rw-r--r-- | src/getht.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/getht.c b/src/getht.c index 3df802c..5502552 100644 --- a/src/getht.c +++ b/src/getht.c @@ -32,8 +32,8 @@ int update_contents_files(); -proxytype proxy_type; char proxy_addr[STR_MAX]; long proxy_port; -proxyauth proxy_auth; +int proxy_type; char proxy_addr[STR_MAX]; long proxy_port; +int proxy_auth; char proxy_user[STR_MAX]; char proxy_pass[STR_MAX]; char issue_xml[STR_MAX]; char issue_uri[STR_MAX]; @@ -67,10 +67,10 @@ int main(int argc, char *argv[]) int force = 0, update = 0; int verbose = 0, option = 0; - proxy_type = NONE; + proxy_type = 0; proxy_port = 0; proxy_addr[0] = '\0'; - proxy_auth = NOAUTH; + proxy_auth = 0; proxy_user[0] = '\0'; proxy_pass[0] = '\0'; |