summaryrefslogtreecommitdiff
path: root/methods/http.cc
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2006-11-29 21:24:29 +0100
committerMichael Vogt <michael.vogt@ubuntu.com>2006-11-29 21:24:29 +0100
commit5f6b130d6342965bfa49beb9413bdf742440b8ab (patch)
tree6f2516220bbeb3eccdbf997120bf031e1f7714cb /methods/http.cc
parent65d71b381cc326bdf5310d8a2ea5b3f0d0307f63 (diff)
* prototype of mirror method added
Diffstat (limited to 'methods/http.cc')
-rw-r--r--methods/http.cc13
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();
-}