summaryrefslogtreecommitdiff
path: root/db/instance.cpp
diff options
context:
space:
mode:
authorAlberto Lerner <alerner@10gen.com>2010-07-19 09:56:24 -0400
committerAlberto Lerner <alerner@10gen.com>2010-07-19 09:56:24 -0400
commitf51a4d0669bf413d34e93c9a1c792f94edfdd757 (patch)
tree5688825fa9a97a6871f296e5b0dbddcaf6890366 /db/instance.cpp
parentd0d79d0fbf732f81bf0268be757a03af8864f286 (diff)
downloadmongo-f51a4d0669bf413d34e93c9a1c792f94edfdd757.tar.gz
SERVER-1270 Hook StringData to BufBuilder
Diffstat (limited to 'db/instance.cpp')
-rw-r--r--db/instance.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/instance.cpp b/db/instance.cpp
index 45586719466..216bb0eedb8 100644
--- a/db/instance.cpp
+++ b/db/instance.cpp
@@ -192,7 +192,7 @@ namespace mongo {
BufBuilder b;
b.skip(sizeof(QueryResult));
- b.append((void*) errObj.objdata(), errObj.objsize());
+ b.appendBuf((void*) errObj.objdata(), errObj.objsize());
// todo: call replyToQuery() from here instead of this!!! see dbmessage.h
QueryResult * msgdata = (QueryResult *) b.buf();