mirror of
https://github.com/Tha14/toxic.git
synced 2025-06-19 21:26:37 +02:00
Standarized DHTservers
This commit is contained in:
6
main.c
6
main.c
@ -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;
|
||||
|
Reference in New Issue
Block a user