1
This commit is contained in:
parent
7f6c831d8d
commit
628e40d322
@ -108,7 +108,7 @@ namespace f8
|
|||||||
head->msgid = msgid;
|
head->msgid = msgid;
|
||||||
head->seqid = seqid;
|
head->seqid = seqid;
|
||||||
head->magic_code = MAGIC_CODE;
|
head->magic_code = MAGIC_CODE;
|
||||||
head->rpc_error_code = 0;
|
head->ext_len = 0;
|
||||||
msg.SerializeToArray(buff + sizeof(PackHead), packlen);
|
msg.SerializeToArray(buff + sizeof(PackHead), packlen);
|
||||||
tcp_client->SendBuff(buff, sizeof(PackHead) + packlen);
|
tcp_client->SendBuff(buff, sizeof(PackHead) + packlen);
|
||||||
free(buff);
|
free(buff);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user