mirror of
https://github.com/sogou/workflow.git
synced 2026-02-08 01:33:17 +08:00
Update message.cc
This commit is contained in:
@@ -83,7 +83,7 @@ int TutorialMessage::append(const void *buf, size_t size)
|
||||
return -1;
|
||||
}
|
||||
|
||||
memcpy(this->body, buf, body_left);
|
||||
memcpy(this->body, buf, size);
|
||||
if (size < body_left)
|
||||
return 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user