diff options
-rw-r--r-- | testing/nTox.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/testing/nTox.c b/testing/nTox.c index b5fff89d..b926ebca 100644 --- a/testing/nTox.c +++ b/testing/nTox.c | |||
@@ -20,7 +20,6 @@ | |||
20 | * along with Tox. If not, see <http://www.gnu.org/licenses/>. | 20 | * along with Tox. If not, see <http://www.gnu.org/licenses/>. |
21 | * | 21 | * |
22 | */ | 22 | */ |
23 | #include "../core/DHT.c" | ||
24 | #include "nTox.h" | 23 | #include "nTox.h" |
25 | #include "misc_tools.h" | 24 | #include "misc_tools.h" |
26 | 25 | ||
@@ -62,9 +61,9 @@ void print_friendlist() | |||
62 | 61 | ||
63 | getname(i, (uint8_t*)name); | 62 | getname(i, (uint8_t*)name); |
64 | if (strlen(name) <= 0) { | 63 | if (strlen(name) <= 0) { |
65 | sprintf(fstring, "[i] Friend: NULL\n\tid: %i", i); | 64 | sprintf(fstring, "[i] Friend: NULL\n\tid: %i", i); |
66 | } else { | 65 | } else { |
67 | sprintf(fstring, "[i] Friend: %s\n\tid: %i", (uint8_t*)name, i); | 66 | sprintf(fstring, "[i] Friend: %s\n\tid: %i", (uint8_t*)name, i); |
68 | } | 67 | } |
69 | new_lines(fstring); | 68 | new_lines(fstring); |
70 | } | 69 | } |