From 628e40d32269414703ba6a74b534593611aa5be8 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Mon, 3 Jun 2019 17:02:13 +0800 Subject: [PATCH] 1 --- cpp/protoutils.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpp/protoutils.cc b/cpp/protoutils.cc index bc7c800..d5a6157 100644 --- a/cpp/protoutils.cc +++ b/cpp/protoutils.cc @@ -108,7 +108,7 @@ namespace f8 head->msgid = msgid; head->seqid = seqid; head->magic_code = MAGIC_CODE; - head->rpc_error_code = 0; + head->ext_len = 0; msg.SerializeToArray(buff + sizeof(PackHead), packlen); tcp_client->SendBuff(buff, sizeof(PackHead) + packlen); free(buff);