浏览代码

fixed misleading return value from send_datagram while bundling messages

Darren Ranalli 18 年之前
父节点
当前提交
2f8cf96fd2
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      direct/src/distributed/cConnectionRepository.cxx

+ 1 - 1
direct/src/distributed/cConnectionRepository.cxx

@@ -395,7 +395,7 @@ send_datagram(const Datagram &dg) {
 
   if (is_bundling_messages() && get_want_message_bundling()) {
     bundle_msg(dg);
-    return false;
+    return true;
   }
 
 #ifdef WANT_NATIVE_NET