summaryrefslogtreecommitdiff
path: root/examples/example-push.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/example-push.c')
-rw-r--r--examples/example-push.c4
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);
}