diff options
author | Eliot Horowitz <eliot@10gen.com> | 2010-07-24 23:54:16 -0400 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2010-07-24 23:54:16 -0400 |
commit | 2827add40c6ed96c397605dc0b98ec2a1ffb0889 (patch) | |
tree | f5adf4818ce99f6b3b44685f0de9a761b32c0ae1 /util | |
parent | 0ede2776032b5d96ce571152bffede36f497d2cb (diff) | |
download | mongo-2827add40c6ed96c397605dc0b98ec2a1ffb0889.tar.gz |
don't put 0 and end of string
Diffstat (limited to 'util')
-rw-r--r-- | util/log.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/log.h b/util/log.h index 2ee288f2399..52d13476954 100644 --- a/util/log.h +++ b/util/log.h @@ -203,7 +203,7 @@ namespace mongo { } b.appendStr( msg ); - string out( b.buf() , b.len() ); + string out( b.buf() , b.len() - 1); scoped_lock lk(mutex); |