mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-23 00:28:26 -05:00
Merge branch 'unstable' of github.com:/antirez/redis into unstable
This commit is contained in:
commit
f231edc672
@ -3381,10 +3381,11 @@ void usage() {
|
|||||||
void redisAsciiArt(void) {
|
void redisAsciiArt(void) {
|
||||||
#include "asciilogo.h"
|
#include "asciilogo.h"
|
||||||
char *buf = zmalloc(1024*16);
|
char *buf = zmalloc(1024*16);
|
||||||
char *mode = "stand alone";
|
char *mode;
|
||||||
|
|
||||||
if (server.cluster_enabled) mode = "cluster";
|
if (server.cluster_enabled) mode = "cluster";
|
||||||
else if (server.sentinel_mode) mode = "sentinel";
|
else if (server.sentinel_mode) mode = "sentinel";
|
||||||
|
else mode = "standalone";
|
||||||
|
|
||||||
snprintf(buf,1024*16,ascii_logo,
|
snprintf(buf,1024*16,ascii_logo,
|
||||||
REDIS_VERSION,
|
REDIS_VERSION,
|
||||||
|
Loading…
Reference in New Issue
Block a user