]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
MINOR: Fix typo in the error 500 output of hlua
authorJoseph Herlant <aerostitch@debian.org>
Thu, 15 Nov 2018 18:07:32 +0000 (10:07 -0800)
committerWilly Tarreau <w@1wt.eu>
Sun, 18 Nov 2018 21:28:09 +0000 (22:28 +0100)
Fixes a common typo in the output generated by the hlua subsystem when
emitting an error 500 page.

src/hlua.c

index 9d35e558e54a04395a3b3ae9906be98d6512c5c8..c354af89c95cd7a20c844ca2a4e19414b0c1414b 100644 (file)
@@ -241,7 +241,7 @@ static const char error_500[] =
        "Connection: close\r\n"
        "Content-Type: text/html\r\n"
        "\r\n"
-       "<html><body><h1>500 Internal Server Error</h1>\nAn internal server error occured.\n</body></html>\n";
+       "<html><body><h1>500 Internal Server Error</h1>\nAn internal server error occurred.\n</body></html>\n";
 
 /* These functions converts types between HAProxy internal args or
  * sample and LUA types. Another function permits to check if the