diff options
author | Mattes D <github@xoft.cz> | 2015-05-09 13:22:59 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2015-05-09 13:22:59 +0200 |
commit | ca949447eefe74804e677fff5a46a1f18a826901 (patch) | |
tree | 911736baccf3617a13f6b7e04ebbfe3fe035fb50 /src/HTTPServer | |
parent | Rabbit and cooked rabbit now stackable (diff) | |
parent | Added check against "Type const &" and "Type const *". (diff) | |
download | cuberite-ca949447eefe74804e677fff5a46a1f18a826901.tar cuberite-ca949447eefe74804e677fff5a46a1f18a826901.tar.gz cuberite-ca949447eefe74804e677fff5a46a1f18a826901.tar.bz2 cuberite-ca949447eefe74804e677fff5a46a1f18a826901.tar.lz cuberite-ca949447eefe74804e677fff5a46a1f18a826901.tar.xz cuberite-ca949447eefe74804e677fff5a46a1f18a826901.tar.zst cuberite-ca949447eefe74804e677fff5a46a1f18a826901.zip |
Diffstat (limited to '')
-rw-r--r-- | src/HTTPServer/EnvelopeParser.h | 2 | ||||
-rw-r--r-- | src/HTTPServer/HTTPMessage.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/HTTPServer/EnvelopeParser.h b/src/HTTPServer/EnvelopeParser.h index e96d80abe..fe226d1f8 100644 --- a/src/HTTPServer/EnvelopeParser.h +++ b/src/HTTPServer/EnvelopeParser.h @@ -61,7 +61,7 @@ public: AString m_LastValue; - /** Notifies the callback of the key/value stored in m_LastKey/m_LastValue, then erases them */ + /** Notifies the callback of the key / value stored in m_LastKey / m_LastValue, then erases them */ void NotifyLast(void); /** Parses one line of header data. Returns true if successful */ diff --git a/src/HTTPServer/HTTPMessage.cpp b/src/HTTPServer/HTTPMessage.cpp index c87b3cc8b..6762a22f8 100644 --- a/src/HTTPServer/HTTPMessage.cpp +++ b/src/HTTPServer/HTTPMessage.cpp @@ -202,7 +202,7 @@ size_t cHTTPRequest::ParseRequestLine(const char * a_Data, size_t a_Size) m_IsValid = false; return AString::npos; } - // Check that there's HTTP/version at the end + // Check that there's HTTP / version at the end if (strncmp(m_IncomingHeaderData.c_str() + URLEnd + 1, "HTTP/1.", 7) != 0) { m_IsValid = false; |