mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
small fix
This commit is contained in:
parent
0ae9ec1815
commit
44d9e24855
|
@ -188,7 +188,7 @@ void line_eval(char lines[HISTORY][STRING_LENGTH], char *line)
|
||||||
uint8_t numf = atoi(line + 3);
|
uint8_t numf = atoi(line + 3);
|
||||||
char numchar[100];
|
char numchar[100];
|
||||||
int num = m_addfriend_norequest(pending_requests[numf]);
|
int num = m_addfriend_norequest(pending_requests[numf]);
|
||||||
if (num >= 0) {
|
if (num != -1) {
|
||||||
sprintf(numchar, "[i] friend request %u accepted", numf);
|
sprintf(numchar, "[i] friend request %u accepted", numf);
|
||||||
new_lines(numchar);
|
new_lines(numchar);
|
||||||
sprintf(numchar, "[i] added friendnumber %d", num);
|
sprintf(numchar, "[i] added friendnumber %d", num);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user