summaryrefslogtreecommitdiff
path: root/include/modules/httpd.h
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2024-02-26 15:27:01 +0000
committerSadie Powell <sadie@witchery.services>2024-02-26 15:34:17 +0000
commitc6cb4ba159a8916243d7ac5a5c4e8d13942baf99 (patch)
tree5183b6cb982dadb2b91987ff7b69486ea8d811df /include/modules/httpd.h
parente341cac8d6565044f7390852afb40c5e388121df (diff)
Fix some coding style issues.
Diffstat (limited to 'include/modules/httpd.h')
-rw-r--r--include/modules/httpd.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/modules/httpd.h b/include/modules/httpd.h
index b08ca8bf4..d78de4a02 100644
--- a/include/modules/httpd.h
+++ b/include/modules/httpd.h
@@ -27,9 +27,9 @@ struct HTTPReply final
std::vector<cookie> cookies;
HTTPReply() = default;
- HTTPReply& operator=(const HTTPReply &) = default;
+ HTTPReply &operator=(const HTTPReply &) = default;
- HTTPReply(const HTTPReply& other) : error(other.error), length(other.length)
+ HTTPReply(const HTTPReply &other) : error(other.error), length(other.length)
{
content_type = other.content_type;
headers = other.headers;
@@ -169,7 +169,7 @@ public:
virtual bool RegisterPage(HTTPPage *page) = 0;
virtual void UnregisterPage(HTTPPage *page) = 0;
- virtual HTTPPage* FindPage(const Anope::string &name) = 0;
+ virtual HTTPPage *FindPage(const Anope::string &name) = 0;
};
namespace HTTPUtils
@@ -180,7 +180,7 @@ namespace HTTPUtils
for (unsigned i = 0; i < url.length(); ++i)
{
- const char& c = url[i];
+ const char &c = url[i];
if (c == '%' && i + 2 < url.length())
{