From 68d23225a38a35f1325eb39fa4ed5a005d5de473 Mon Sep 17 00:00:00 2001
From: fujuntang <fujuntang@aiot.com>
Date: 星期三, 11 八月 2021 09:50:20 +0800
Subject: [PATCH] fix from 3.1 first commit

---
 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