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

Hiding DHT tab since it doesn't work currently

This commit is contained in:
Jfreegman 2013-08-27 04:58:30 -04:00
parent 222124742c
commit 894dc28c6f
2 changed files with 2 additions and 4 deletions

View File

@ -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)

View File

@ -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);