Removed unneeded include.

Fixed formatting and cleaned up output.
This commit is contained in:
Ryan Lewon 2013-07-30 07:26:58 +00:00
parent 09a71f37ec
commit 20aad9c73b

View File

@ -20,7 +20,6 @@
* along with Tox. If not, see <http://www.gnu.org/licenses/>. * along with Tox. If not, see <http://www.gnu.org/licenses/>.
* *
*/ */
#include "../core/DHT.c"
#include "nTox.h" #include "nTox.h"
#include "misc_tools.h" #include "misc_tools.h"
@ -62,9 +61,9 @@ void print_friendlist()
getname(i, (uint8_t*)name); getname(i, (uint8_t*)name);
if (strlen(name) <= 0) { if (strlen(name) <= 0) {
sprintf(fstring, "[i] Friend: NULL\n\tid: %i", i); sprintf(fstring, "[i] Friend: NULL\n\tid: %i", i);
} else { } else {
sprintf(fstring, "[i] Friend: %s\n\tid: %i", (uint8_t*)name, i); sprintf(fstring, "[i] Friend: %s\n\tid: %i", (uint8_t*)name, i);
} }
new_lines(fstring); new_lines(fstring);
} }