summaryrefslogtreecommitdiff
path: root/testing/nTox.c
diff options
context:
space:
mode:
authorRyan Lewon <xorl@xorl.net>2013-07-30 07:26:58 +0000
committerRyan Lewon <xorl@xorl.net>2013-07-30 07:26:58 +0000
commit20aad9c73bfad93099a2614d7be1fe8a245665c7 (patch)
tree0f1844173b0cc58137c415e471985239cc5af397 /testing/nTox.c
parent09a71f37ec3f18184364d4a6bcc93ab5c50da759 (diff)
Removed unneeded include.
Fixed formatting and cleaned up output.
Diffstat (limited to 'testing/nTox.c')
-rw-r--r--testing/nTox.c7
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 }