mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-22 02:53:09 +00:00
fix issue #200
This commit is contained in:
@@ -179,7 +179,7 @@ wb_string(struct write_block *wb, const char *str, int len) {
|
||||
wb_push(wb, str, len);
|
||||
}
|
||||
} else {
|
||||
int n;
|
||||
uint8_t n;
|
||||
if (len < 0x10000) {
|
||||
n = COMBINE_TYPE(TYPE_LONG_STRING, 2);
|
||||
wb_push(wb, &n, 1);
|
||||
|
||||
Reference in New Issue
Block a user