0
0
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:
Eliot Horowitz 2010-07-24 23:54:16 -04:00
parent 0ede277603
commit 2827add40c

View File

@ -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);