From 24678070d451711a03a69ca3a7aa6e695efeff28 Mon Sep 17 00:00:00 2001
From: wangzhengquan <wangzhengquan85@126.com>
Date: 星期五, 12 三月 2021 19:05:12 +0800
Subject: [PATCH] upate
---
src/bus_error.cpp | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/bus_error.cpp b/src/bus_error.cpp
index a9348e0..913a771 100644
--- a/src/bus_error.cpp
+++ b/src/bus_error.cpp
@@ -11,7 +11,7 @@
static pthread_key_t strerrorKey;
-static char *_bus_errlist[_bus_nerr] = {
+static const char *_bus_errlist[_bus_nerr] = {
"\0",
"Timed out",
"The other end is not inline",
@@ -19,7 +19,8 @@
"Network fault",
"Send to self error",
"Receive from wrong end",
- "Service stoped"
+ "Service stoped",
+ "Exceed resource limit"
};
--
Gitblit v1.8.0