summaryrefslogtreecommitdiff
path: root/test.c
diff options
context:
space:
mode:
Diffstat (limited to 'test.c')
-rw-r--r--test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test.c b/test.c
index cca1587..e4de5cd 100644
--- a/test.c
+++ b/test.c
@@ -20,7 +20,7 @@ static void __connect(redisContext **target) {
redisContext *c;
c = *target = redisConnect((char*)"127.0.0.1", 6379, NULL);
if (c->error != NULL) {
- printf("Connection error: %s", c->error);
+ printf("Connection error: %s\n", c->error);
exit(1);
}
}