summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2010-02-26 14:42:11 -0500
committerEliot Horowitz <eliot@10gen.com>2010-02-26 14:42:11 -0500
commit3e36fa8fd41d9a191fb3bc64105f1380da894a4b (patch)
tree47defbc9921329528011a2e3264c6bc9d281a33f /util
parentda23ec8f562fa04eb3c4c24055accc7c3d8576fe (diff)
downloadmongo-3e36fa8fd41d9a191fb3bc64105f1380da894a4b.tar.gz
defensive MINOR
Diffstat (limited to 'util')
-rw-r--r--util/message.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/util/message.cpp b/util/message.cpp
index ea8da69e06e..b61e8944af1 100644
--- a/util/message.cpp
+++ b/util/message.cpp
@@ -378,6 +378,7 @@ again:
}
void MessagingPort::say(Message& toSend, int responseTo) {
+ assert( toSend.data );
mmm( out() << "* say() sock:" << this->sock << " thr:" << GetCurrentThreadId() << endl; )
toSend.data->id = nextMessageId();
toSend.data->responseTo = responseTo;