]> git.saurik.com Git - apt.git/blob - methods/http_main.cc
Try to use NotEquals for the MultiArch Breaks dependencies instead of
[apt.git] / methods / http_main.cc
1 #include <apt-pkg/fileutl.h>
2 #include <apt-pkg/acquire-method.h>
3 #include <signal.h>
4
5 #include "connect.h"
6 #include "rfc2553emu.h"
7 #include "http.h"
8
9
10 int main()
11 {
12 setlocale(LC_ALL, "");
13
14 // ignore SIGPIPE, this can happen on write() if the socket
15 // closes the connection (this is dealt with via ServerDie())
16 signal(SIGPIPE, SIG_IGN);
17
18 HttpMethod Mth;
19 return Mth.Loop();
20 }