From e5dd681b285229b420e1bc167b821da89c2701b9 Mon Sep 17 00:00:00 2001 From: Sean Qureshi Date: Sun, 18 Aug 2013 03:12:55 -0700 Subject: [PATCH] Added windows support to the standarized location --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.c b/main.c index c89f2f8..f9cb1b1 100644 --- a/main.c +++ b/main.c @@ -93,7 +93,7 @@ int init_connection(void) return 0; #if defined(WIN32) || defined(_WIN32) || defined(__WIN32) && !defined(__CYGWIN__) - FILE *fp = fopen("DHTservers", "r"); + FILE *fp = fopen("%appdata%/.tox/DHTservers", "r"); #else FILE *fp = fopen("~/.tox/DHTservers", "r"); #endif