1
0
mirror of https://github.com/Tha14/toxic.git synced 2024-12-23 11:13:24 +01:00

Standarized DHTservers

This commit is contained in:
Sean Qureshi 2013-08-17 19:26:31 -07:00
parent 5d8ccde3d9
commit 374b7b9c6b

6
main.c
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;