summaryrefslogtreecommitdiff
path: root/example.c
diff options
context:
space:
mode:
Diffstat (limited to 'example.c')
-rw-r--r--example.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/example.c b/example.c
index 90ff9ed..378ef71 100644
--- a/example.c
+++ b/example.c
@@ -10,7 +10,7 @@ int main(void) {
redisReply *reply;
struct timeval timeout = { 1, 500000 }; // 1.5 seconds
- c = redisConnectWithTimeout((char*)"127.0.0.2", 6379, timeout);
+ c = redisConnectWithTimeout((char*)"127.0.0.1", 6379, timeout);
if (c->err) {
printf("Connection error: %s\n", c->errstr);
exit(1);