mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 09:32:32 +01:00
don't put 0 and end of string
This commit is contained in:
parent
0ede277603
commit
2827add40c
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user