mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Removed unneeded include.
Fixed formatting and cleaned up output.
This commit is contained in:
parent
09a71f37ec
commit
20aad9c73b
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user