summaryrefslogtreecommitdiff
path: root/grid/message.cpp
diff options
context:
space:
mode:
authorDwight <dmerriman@gmail.com>2007-11-26 11:31:48 -0500
committerDwight <dmerriman@gmail.com>2007-11-26 11:31:48 -0500
commit1b272bdfaf82da8fa0099898f4ed5ce36eea4942 (patch)
treef107879c358f731972e5bbefd27e0993ecfee164 /grid/message.cpp
parent399ed104f747611f351a89287f2cf646d514a61f (diff)
downloadmongo-1b272bdfaf82da8fa0099898f4ed5ce36eea4942.tar.gz
complain if can't send message
Diffstat (limited to 'grid/message.cpp')
-rw-r--r--grid/message.cpp1
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 ) {