]> git.saurik.com Git - apt.git/commitdiff
methods/http.cc: remove merge artifact
authorMichael Vogt <michael.vogt@ubuntu.com>
Thu, 30 Jul 2009 16:25:16 +0000 (18:25 +0200)
committerMichael Vogt <michael.vogt@ubuntu.com>
Thu, 30 Jul 2009 16:25:16 +0000 (18:25 +0200)
methods/http.cc

index 476fb751f0dfeedfb7a0cf16d18a50e59a52f4fc..859dbd39c72a19c33ddf422acee2d9be9bde6ab0 100644 (file)
@@ -1316,15 +1316,4 @@ int HttpMethod::Loop()
 }
                                                                        /*}}}*/
 
 }
                                                                        /*}}}*/
 
-int main()
-{
-   setlocale(LC_ALL, "");
-   // ignore SIGPIPE, this can happen on write() if the socket
-   // closes the connection (this is dealt with via ServerDie())
-   signal(SIGPIPE, SIG_IGN);
-
-   HttpMethod Mth;
-   return Mth.Loop();
-}
-