From fb3f4f606659af9cbf10b0b6710fb80fcaec5627 Mon Sep 17 00:00:00 2001 From: wangzhengquan <wangzhengquan85@126.com> Date: 星期一, 18 一月 2021 10:46:44 +0800 Subject: [PATCH] Merge branch 'master' into dev --- src/bus_error.cpp | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/bus_error.cpp b/src/bus_error.cpp index 6cee508..cf16cf2 100644 --- a/src/bus_error.cpp +++ b/src/bus_error.cpp @@ -13,9 +13,10 @@ static char *_bus_errlist[_bus_nerr] = { "\0", - "timeout", + "Timeout", "The other end is not inline", - "Key already in use" + "Key already in use", + "Network fault" }; @@ -43,7 +44,7 @@ { int s, eindex; char *buf; - eindex = err - 10000; + eindex = err - EBUS_BASE; /* Make first caller allocate key for thread-specific data */ s = pthread_once(&once, createKey); -- Gitblit v1.8.0