diff options
author | Dwight <dmerriman@gmail.com> | 2007-11-26 11:31:48 -0500 |
---|---|---|
committer | Dwight <dmerriman@gmail.com> | 2007-11-26 11:31:48 -0500 |
commit | 1b272bdfaf82da8fa0099898f4ed5ce36eea4942 (patch) | |
tree | f107879c358f731972e5bbefd27e0993ecfee164 /grid/message.cpp | |
parent | 399ed104f747611f351a89287f2cf646d514a61f (diff) | |
download | mongo-1b272bdfaf82da8fa0099898f4ed5ce36eea4942.tar.gz |
complain if can't send message
Diffstat (limited to 'grid/message.cpp')
-rw-r--r-- | grid/message.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/grid/message.cpp b/grid/message.cpp index 6450bbaf872..40888029449 100644 --- a/grid/message.cpp +++ b/grid/message.cpp @@ -115,6 +115,7 @@ void MessagingPort::say(int channel, SockAddr& to, Message& toSend, int response int mss = conn.mtu() - FragHeader;
int left = toSend.data->len;
+ cout << "say() len:" << left << endl;
int i = 0;
char *p = (char *) toSend.data;
while( left>0 ) {
|