mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Standarized DHTservers
This commit is contained in:
parent
12564b1f12
commit
91ae38450c
|
@ -88,7 +88,11 @@ int init_connection(void)
|
||||||
if (DHT_isconnected())
|
if (DHT_isconnected())
|
||||||
return 0;
|
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)
|
if (!fp)
|
||||||
return 1;
|
return 1;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user