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 c1bbc21..b6e86f5 100644
--- a/test.c
+++ b/test.c
@@ -21,7 +21,7 @@ static long long usec(void) {
static redisContext *blocking_context = NULL;
static void __connect(redisContext **target) {
- *target = blocking_context = redisConnect((char*)"127.0.0.1", 6379, NULL);
+ *target = blocking_context = redisConnect((char*)"127.0.0.1", 6379);
if (blocking_context->error != NULL) {
printf("Connection error: %s\n", blocking_context->error);
exit(1);