From 7bbbf8548250d459a83f77737c7897ad167e4103 Mon Sep 17 00:00:00 2001 From: zhaohe Date: Tue, 9 Jan 2024 11:12:34 +0800 Subject: [PATCH] update --- iflytop_xsync_protocol.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/iflytop_xsync_protocol.h b/iflytop_xsync_protocol.h index 3eb8bb5..110f661 100644 --- a/iflytop_xsync_protocol.h +++ b/iflytop_xsync_protocol.h @@ -53,6 +53,7 @@ typedef enum { kxs_ec_receive_fail = 5, kxs_ec_setsockopt_rx_timeout_fail = 6, kxs_ec_lose_connect = 7, + kxs_ec_param_error = 8, } xs_error_code_t; static inline const char* xs_error_code_2_str(xs_error_code_t ecode) { @@ -73,6 +74,8 @@ static inline const char* xs_error_code_2_str(xs_error_code_t ecode) { return "setsockopt rx timeout fail"; case kxs_ec_lose_connect: return "lose connect"; + case kxs_ec_param_error: + return "param error"; default: return "unknown error"; }