X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_httpd.cpp;h=f9e5bc0fdca282acb328208c51deef4780847e02;hb=09f35749aa7bf7dc20951d85bad60de3d219e4eb;hp=78c25f6d920c799fe9ab545376dec4930980e248;hpb=f97c88f6f64e66fe2abb38860ab1e3f8c0702439;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/m_httpd.cpp b/src/modules/m_httpd.cpp index 78c25f6d9..f9e5bc0fd 100644 --- a/src/modules/m_httpd.cpp +++ b/src/modules/m_httpd.cpp @@ -40,7 +40,7 @@ #endif // Fix warnings about shadowing in http_parser. -#ifdef _GNUC +#ifdef __GNUC__ # pragma GCC diagnostic ignored "-Wshadow" #endif @@ -229,7 +229,7 @@ class HttpServerSocket : public BufferedSocket, public Timer, public insp::intru HTTPHeaders empty; std::string data = InspIRCd::Format( "Server error %u: %s
" - "Powered by InspIRCd", response, http_status_str((http_status)response)); + "Powered by InspIRCd", response, http_status_str((http_status)response)); SendHeaders(data.length(), response, empty); WriteData(data);