From 3baa1ff0ea9c24f4ecf0f818f2c5909d6d918f5e Mon Sep 17 00:00:00 2001 From: wangzhengquan <wangzhengquan85@126.com> Date: 星期二, 19 一月 2021 18:26:49 +0800 Subject: [PATCH] delete Makefile. use cmake --- 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