mirror of
https://github.com/Tha14/toxic.git
synced 2024-11-23 01:33:02 +01:00
Hiding DHT tab since it doesn't work currently
This commit is contained in:
parent
222124742c
commit
894dc28c6f
@ -151,9 +151,6 @@ int init_connection(Tox *m)
|
|||||||
{
|
{
|
||||||
FILE *fp = NULL;
|
FILE *fp = NULL;
|
||||||
|
|
||||||
if (tox_isconnected(m))
|
|
||||||
return 0;
|
|
||||||
|
|
||||||
fp = fopen(SRVLIST_FILE, "r");
|
fp = fopen(SRVLIST_FILE, "r");
|
||||||
|
|
||||||
if (!fp)
|
if (!fp)
|
||||||
|
@ -169,7 +169,8 @@ ToxWindow *init_windows()
|
|||||||
|
|
||||||
if (n_prompt == -1
|
if (n_prompt == -1
|
||||||
|| add_window(m, new_friendlist()) == -1
|
|| add_window(m, new_friendlist()) == -1
|
||||||
|| add_window(m, new_dhtstatus()) == -1) {
|
//|| add_window(m, new_dhtstatus()) == -1
|
||||||
|
) {
|
||||||
fprintf(stderr, "add_window() failed.\n");
|
fprintf(stderr, "add_window() failed.\n");
|
||||||
endwin();
|
endwin();
|
||||||
exit(1);
|
exit(1);
|
||||||
|
Loading…
Reference in New Issue
Block a user