We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 39318b6 + 4016d62 commit 65c554fCopy full SHA for 65c554f
src/glog/logging.h.in
@@ -1104,7 +1104,7 @@ namespace base_logging {
1104
// buffer to allow for a '\n' and '\0'.
1105
class GOOGLE_GLOG_DLL_DECL LogStreamBuf : public std::streambuf {
1106
public:
1107
- // REQUIREMENTS: "len" must be >= 2 to account for the '\n' and '\n'.
+ // REQUIREMENTS: "len" must be >= 2 to account for the '\n' and '\0'.
1108
LogStreamBuf(char *buf, int len) {
1109
setp(buf, buf + len - 2);
1110
}
0 commit comments