Unverified Commit c4bada18 authored by Sergiu Deitsch's avatar Sergiu Deitsch Committed by GitHub

Merge pull request #371 from zaporozhets/fix_mistyping_in_comment

Fix mistype in comment
parents 8d7a107d a9393f09
...@@ -1104,7 +1104,7 @@ namespace base_logging { ...@@ -1104,7 +1104,7 @@ namespace base_logging {
// buffer to allow for a '\n' and '\0'. // buffer to allow for a '\n' and '\0'.
class GOOGLE_GLOG_DLL_DECL LogStreamBuf : public std::streambuf { class GOOGLE_GLOG_DLL_DECL LogStreamBuf : public std::streambuf {
public: public:
// REQUIREMENTS: "len" must be >= 2 to account for the '\n' and '\n'. // REQUIREMENTS: "len" must be >= 2 to account for the '\n' and '\0'.
LogStreamBuf(char *buf, int len) { LogStreamBuf(char *buf, int len) {
setp(buf, buf + len - 2); setp(buf, buf + len - 2);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment