summaryrefslogtreecommitdiff
path: root/src/debug.c
diff options
context:
space:
mode:
authorzhaozhao.zz <zhaozhao.zz@alibaba-inc.com>2018-06-28 17:43:05 +0800
committerzhaozhao.zz <zhaozhao.zz@alibaba-inc.com>2018-06-28 17:43:05 +0800
commitb9cbd04b573c9f3e3092d45bb2f3181441307e79 (patch)
treed830f9628b504d891e4a4e00875a35140f68f8aa /src/debug.c
parentf5538642cc410dd7b14e0eec5c4217c0a501138f (diff)
downloadredis-b9cbd04b573c9f3e3092d45bb2f3181441307e79.tar.gz
clients: add type option for client list
Diffstat (limited to 'src/debug.c')
-rw-r--r--src/debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/debug.c b/src/debug.c
index a54591bd4..b8d0690e2 100644
--- a/src/debug.c
+++ b/src/debug.c
@@ -1077,7 +1077,7 @@ void sigsegvHandler(int sig, siginfo_t *info, void *secret) {
infostring = genRedisInfoString("all");
serverLogRaw(LL_WARNING|LL_RAW, infostring);
serverLogRaw(LL_WARNING|LL_RAW, "\n------ CLIENT LIST OUTPUT ------\n");
- clients = getAllClientsInfoString();
+ clients = getAllClientsInfoString(-1);
serverLogRaw(LL_WARNING|LL_RAW, clients);
sdsfree(infostring);
sdsfree(clients);