diff options
author | Anna (navi) Figueiredo Gomes <navi@vlhl.dev> | 2024-03-22 21:49:09 +0100 |
---|---|---|
committer | Anna (navi) Figueiredo Gomes <navi@vlhl.dev> | 2024-03-22 21:49:09 +0100 |
commit | aee72918851db8af296e096b759dfb7aaea17968 (patch) | |
tree | 63a725878e2303a2232b80c5a04240d675400cf6 /examples/example-push.c | |
parent | b76dffa81f15f4a637bd29c96067ec9743f154e7 (diff) |
examples/* ssl.c test.c: update strings
Signed-off-by: Anna (navi) Figueiredo Gomes <navi@vlhl.dev>
Diffstat (limited to 'examples/example-push.c')
-rw-r--r-- | examples/example-push.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); } |