diff options
author | Eliot Horowitz <eliot@10gen.com> | 2010-02-26 14:42:11 -0500 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2010-02-26 14:42:11 -0500 |
commit | 3e36fa8fd41d9a191fb3bc64105f1380da894a4b (patch) | |
tree | 47defbc9921329528011a2e3264c6bc9d281a33f | |
parent | da23ec8f562fa04eb3c4c24055accc7c3d8576fe (diff) | |
download | mongo-3e36fa8fd41d9a191fb3bc64105f1380da894a4b.tar.gz |
defensive MINOR
-rw-r--r-- | util/message.cpp | 1 |
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; |