diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2012-08-01T21·21-0400 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2012-08-01T21·21-0400 |
commit | 79bba3782c275f03954cc9fc03f92aff487db953 (patch) | |
tree | 2440f67d392e72482bea9c6837b0a23739bfbca4 | |
parent | ca94b383718f2dc5f4f14ed6eddd8d04ac9d3fc2 (diff) |
Doh
-rw-r--r-- | src/libutil/util.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutil/util.cc b/src/libutil/util.cc index 086574058aff..3790e2fa3bbd 100644 --- a/src/libutil/util.cc +++ b/src/libutil/util.cc @@ -1018,7 +1018,7 @@ string concatStringsSep(const string & sep, const Strings & ss) string chomp(const string & s) { size_t i = s.find_last_not_of(" \n\r\t"); - return i == string::npos ? "" : string(s, 0, i); + return i == string::npos ? "" : string(s, 0, i + 1); } |