From 9b9dd8cc7d3a6fd05750d4f41720cf6094780551 Mon Sep 17 00:00:00 2001 From: wangzhengquan <wangzhengquan85@126.com> Date: 星期四, 26 十一月 2020 16:46:14 +0800 Subject: [PATCH] update --- 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