fix:修正秘钥key问题。
This commit is contained in:
parent
61ac79c93e
commit
797f8f164e
@ -1090,6 +1090,7 @@ void CClient::handle_frame(CFrameBuffer* buf)
|
|||||||
buf->type_ = TYPE_GET_DIRFILES_DONE;
|
buf->type_ = TYPE_GET_DIRFILES_DONE;
|
||||||
msg_info.str = out;
|
msg_info.str = out;
|
||||||
}
|
}
|
||||||
|
msg_info.id = buf->tid_;
|
||||||
serialize(msg_info, &buf->data_, buf->len_);
|
serialize(msg_info, &buf->data_, buf->len_);
|
||||||
std::swap(buf->tid_, buf->fid_);
|
std::swap(buf->tid_, buf->fid_);
|
||||||
if (!send_frame(buf)) {
|
if (!send_frame(buf)) {
|
||||||
@ -1206,14 +1207,9 @@ void CClient::handle_frame(CFrameBuffer* buf)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
msg_info.str = variable_and_reverse_files(msg_info.str);
|
msg_info.str = variable_and_reverse_files(msg_info.str);
|
||||||
|
msg_info.id = buf->tid_;
|
||||||
serialize(msg_info, &buf->data_, buf->len_);
|
serialize(msg_info, &buf->data_, buf->len_);
|
||||||
|
|
||||||
CMessageInfo tp(buf->fid_);
|
|
||||||
if (!deserialize(buf->data_, buf->len_, tp)) {
|
|
||||||
TLOGE("{} GetList deserialize failed.", __LINE__);
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
|
|
||||||
std::swap(buf->tid_, buf->fid_);
|
std::swap(buf->tid_, buf->fid_);
|
||||||
buf->type_ = TYPE_REQUEST_UPDATE_LIST;
|
buf->type_ = TYPE_REQUEST_UPDATE_LIST;
|
||||||
if (!send_frame(buf)) {
|
if (!send_frame(buf)) {
|
||||||
@ -1240,6 +1236,7 @@ void CClient::handle_frame(CFrameBuffer* buf)
|
|||||||
buf->type_ = TYPE_UNCONFIRM_UPDATE_LIST;
|
buf->type_ = TYPE_UNCONFIRM_UPDATE_LIST;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
msg_info.id = buf->tid_;
|
||||||
serialize(msg_info, &buf->data_, buf->len_);
|
serialize(msg_info, &buf->data_, buf->len_);
|
||||||
std::swap(buf->tid_, buf->fid_);
|
std::swap(buf->tid_, buf->fid_);
|
||||||
if (!send_frame(buf)) {
|
if (!send_frame(buf)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user