summaryrefslogtreecommitdiff
path: root/examples/example.c
diff options
context:
space:
mode:
authorAnna (navi) Figueiredo Gomes <navi@vlhl.dev>2024-03-22 21:49:09 +0100
committerAnna (navi) Figueiredo Gomes <navi@vlhl.dev>2024-03-22 21:49:09 +0100
commitaee72918851db8af296e096b759dfb7aaea17968 (patch)
tree63a725878e2303a2232b80c5a04240d675400cf6 /examples/example.c
parentb76dffa81f15f4a637bd29c96067ec9743f154e7 (diff)
examples/* ssl.c test.c: update strings
Signed-off-by: Anna (navi) Figueiredo Gomes <navi@vlhl.dev>
Diffstat (limited to 'examples/example.c')
-rw-r--r--examples/example.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/example.c b/examples/example.c
index a87e5cf..41c8189 100644
--- a/examples/example.c
+++ b/examples/example.c
@@ -42,7 +42,7 @@ static void example_argv_command(redisContext *c, size_t n) {
reply = redisCommandArgv(c, n + 2, (const char **)argv, (const size_t*)argvlen);
if (reply == NULL || c->err) {
- fprintf(stderr, "Error: Couldn't execute redisCommandArgv\n");
+ fprintf(stderr, "Error: Couldn't execute redictCommandArgv\n");
exit(1);
}
@@ -88,7 +88,7 @@ int main(int argc, char **argv) {
printf("Connection error: %s\n", c->errstr);
redisFree(c);
} else {
- printf("Connection error: can't allocate redis context\n");
+ printf("Connection error: can't allocate redict context\n");
}
exit(1);
}