Standarized DHTservers

This commit is contained in:
Sean Qureshi 2013-08-17 19:26:31 -07:00
parent 12564b1f12
commit 91ae38450c

View File

@ -88,7 +88,11 @@ int init_connection(void)
if (DHT_isconnected())
return 0;
FILE *fp = fopen("../../../other/DHTservers", "r");
#if defined(WIN32) || defined(_WIN32) || defined(__WIN32) && !defined(__CYGWIN__)
FILE *fp = fopen("DHTservers", "r");
#else
FILE *fp = fopen("~/.tox/DHTservers", "r");
#endif
if (!fp)
return 1;