From 947f6ae835eb7233e57847a745fac1e911991467 Mon Sep 17 00:00:00 2001 From: Remi Gacogne Date: Wed, 19 Jul 2017 15:32:31 +0200 Subject: [PATCH] Update YaHTTP to 93e75d1412d7dafab54f68b7efb9a4e30fd8b9fe Fix a warning reported by Coverity. --- ext/yahttp/yahttp/reqresp.hpp | 2 ++ ext/yahttp/yahttp/router.hpp | 1 + 2 files changed, 3 insertions(+) diff --git a/ext/yahttp/yahttp/reqresp.hpp b/ext/yahttp/yahttp/reqresp.hpp index 2e2b609cb..d9e7a1972 100644 --- a/ext/yahttp/yahttp/reqresp.hpp +++ b/ext/yahttp/yahttp/reqresp.hpp @@ -132,6 +132,7 @@ protected: #ifdef HAVE_CPP_FUNC_PTR this->renderer = rhs.renderer; #endif + this->is_multipart = rhs.is_multipart; }; HTTPBase& operator=(const HTTPBase& rhs) { this->url = rhs.url; this->kind = rhs.kind; @@ -144,6 +145,7 @@ protected: #ifdef HAVE_CPP_FUNC_PTR this->renderer = rhs.renderer; #endif + this->is_multipart = rhs.is_multipart; return *this; }; public: diff --git a/ext/yahttp/yahttp/router.hpp b/ext/yahttp/yahttp/router.hpp index 915155f8a..145123b9f 100644 --- a/ext/yahttp/yahttp/router.hpp +++ b/ext/yahttp/yahttp/router.hpp @@ -65,6 +65,7 @@ If method is left empty, it will match any method. Name is also optional, but ne static std::pair URLFor(const std::string &name, const strstr_map_t& arguments) { return router.urlFor(name,arguments); }; //