]> git.saurik.com Git - apt.git/blobdiff - methods/http.h
act on various suggestions from cppcheck
[apt.git] / methods / http.h
index e06a046ef688c6cbc24b31bcf8a8e11dc3e2b8aa..9e2b1da5caf3de0e56c0a7f6fa2c421b1421ab6c 100644 (file)
@@ -87,7 +87,7 @@ class CircleBuf
    // Dump everything
    void Stats();
 
-   CircleBuf(unsigned long long Size);
+   explicit CircleBuf(unsigned long long Size);
    ~CircleBuf();
 };
 
@@ -137,7 +137,7 @@ class HttpMethod : public ServerMethod
    public:
    friend struct HttpServerState;
 
-   HttpMethod() : ServerMethod("1.2",Pipeline | SendConfig)
+   HttpMethod() : ServerMethod("http", "1.2",Pipeline | SendConfig)
    {
       File = 0;
       Server = 0;