From aa2f3b2a9968bb4928463bdae05fb026d16b60bb Mon Sep 17 00:00:00 2001 From: wangzhengquan <wangzhengquan85@126.com> Date: 星期五, 04 十二月 2020 19:07:01 +0800 Subject: [PATCH] 固定bus key --- src/socket/net_mod_socket_io.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/socket/net_mod_socket_io.h b/src/socket/net_mod_socket_io.h index 7b41b04..201908b 100644 --- a/src/socket/net_mod_socket_io.h +++ b/src/socket/net_mod_socket_io.h @@ -5,7 +5,7 @@ #define PKG_SEP "\r\n\r\n" -ssize_t rio_readpkgb(rio_t *rp, char *usrbuf, size_t maxlen); +ssize_t rio_read_until_sep(rio_t *rp, char *usrbuf, size_t maxlen, char * sep); int is_little_endian(); void swap_bytes(void *pv, size_t n); uint16_t swap_uint16( uint16_t val ) ; -- Gitblit v1.8.0