From 366eeab6832866357dec147004b99a0c95e7ad8f Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Sat, 1 Jun 2019 16:35:38 +0800 Subject: [PATCH] 1 --- cpp/protoutils.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cpp/protoutils.cc b/cpp/protoutils.cc index 68e70a4..0b363c5 100644 --- a/cpp/protoutils.cc +++ b/cpp/protoutils.cc @@ -124,7 +124,7 @@ namespace f8 head->msgid = msgid; head->seqid = seqid; head->magic_code = MAGIC_CODE; - head->rpc_ext_len = packlen >> 16; + head->ext_len = packlen >> 16; msg.SerializeToArray(buff + sizeof(PackHead), packlen); tcp_listener->SendClientMsg(socket_handle, buff, sizeof(PackHead) + packlen); free(buff); @@ -234,3 +234,4 @@ namespace f8 return sizeof(WSProxyPackHead_S) + packlen; } } +