log: make log happy when receiving malformd packet

This commit is contained in:
Nick Peng
2022-06-28 22:01:14 +08:00
parent 9fdf53baa5
commit 1f07a7ea97
3 changed files with 36 additions and 6 deletions

View File

@@ -112,6 +112,8 @@ uint64_t get_free_space(const char *path);
void print_stack(void);
int write_file(const char *filename, void *data, int data_len);
#ifdef __cplusplus
}
#endif /*__cplusplus */