diff options
Diffstat (limited to 'examples/example.c')
-rw-r--r-- | examples/example.c | 4 |
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); } |