diff options
author | Michael Vogt <michael.vogt@ubuntu.com> | 2006-11-29 21:24:29 +0100 |
---|---|---|
committer | Michael Vogt <michael.vogt@ubuntu.com> | 2006-11-29 21:24:29 +0100 |
commit | 5f6b130d6342965bfa49beb9413bdf742440b8ab (patch) | |
tree | 6f2516220bbeb3eccdbf997120bf031e1f7714cb /methods/http.cc | |
parent | 65d71b381cc326bdf5310d8a2ea5b3f0d0307f63 (diff) |
* prototype of mirror method added
Diffstat (limited to 'methods/http.cc')
-rw-r--r-- | methods/http.cc | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/methods/http.cc b/methods/http.cc index c6623c46f..deaa8d0c8 100644 --- a/methods/http.cc +++ b/methods/http.cc @@ -38,7 +38,6 @@ #include <stdio.h> #include <errno.h> #include <string.h> -#include <iostream> #include <apti18n.h> // Internet stuff @@ -57,7 +56,7 @@ time_t HttpMethod::FailTime = 0; unsigned long PipelineDepth = 10; unsigned long TimeOut = 120; bool Debug = false; - +URI Proxy; unsigned long CircleBuf::BwReadLimit=0; unsigned long CircleBuf::BwTickReadData=0; @@ -990,7 +989,7 @@ void HttpMethod::SigTerm(int) depth. */ bool HttpMethod::Fetch(FetchItem *) { - if (Server == 0) + if (Server == 0) return true; // Queue the requests @@ -1223,13 +1222,5 @@ int HttpMethod::Loop() } /*}}}*/ -int main() -{ - setlocale(LC_ALL, ""); - - HttpMethod Mth; - - return Mth.Loop(); -} |