From aee72918851db8af296e096b759dfb7aaea17968 Mon Sep 17 00:00:00 2001 From: "Anna (navi) Figueiredo Gomes" Date: Fri, 22 Mar 2024 21:49:09 +0100 Subject: examples/* ssl.c test.c: update strings Signed-off-by: Anna (navi) Figueiredo Gomes --- examples/example-push.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples/example-push.c') diff --git a/examples/example-push.c b/examples/example-push.c index a00422f..ce28c38 100644 --- a/examples/example-push.c +++ b/examples/example-push.c @@ -25,7 +25,7 @@ static void assertReplyAndFree(redisContext *context, redisReply *reply, int typ if (reply->type != type) { if (reply->type == REDIS_REPLY_ERROR) - fprintf(stderr, "Redis Error: %s\n", reply->str); + fprintf(stderr, "Redict Error: %s\n", reply->str); panicAbort("Expected reply type %d but got type %d", type, reply->type); } @@ -42,7 +42,7 @@ static void enableClientTracking(redisContext *c) { if (reply->type != REDIS_REPLY_MAP) { fprintf(stderr, "Error: Can't send HELLO 3 command. Are you sure you're "); - fprintf(stderr, "connected to redis-server >= 6.0.0?\nRedis error: %s\n", + fprintf(stderr, "connected to redict-server >= 6.0.0?\nRedict error: %s\n", reply->type == REDIS_REPLY_ERROR ? reply->str : "(unknown)"); exit(-1); } -- cgit v1.2.3