mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-23 19:43:09 +00:00
minor fix for rare case
This commit is contained in:
@@ -37,6 +37,7 @@ forward_message(int type, bool padding, struct socket_message * result) {
|
||||
if (result->data) {
|
||||
sz += strlen(result->data) + 1;
|
||||
} else {
|
||||
result->data = "";
|
||||
sz += 1;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user