Skip to content

Commit

Permalink
Merge pull request #371 from zaporozhets/fix_mistyping_in_comment
Browse files Browse the repository at this point in the history
Fix mistype in comment
  • Loading branch information
sergiud authored Oct 23, 2018
2 parents 8d7a107 + a9393f0 commit c4bada1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/glog/logging.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -1104,7 +1104,7 @@ namespace base_logging {
// buffer to allow for a '\n' and '\0'.
class GOOGLE_GLOG_DLL_DECL LogStreamBuf : public std::streambuf {
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) {
setp(buf, buf + len - 2);
}
Expand Down

0 comments on commit c4bada1

Please sign in to comment.