mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
forgot to print messages
This commit is contained in:
parent
00e2cf8a41
commit
52ddf5ec43
|
@ -129,15 +129,19 @@ void line_eval(char* line)
|
|||
switch (num) {
|
||||
case -1:
|
||||
sprintf(numstring, "[i] Incorrect key length");
|
||||
printf(numstring);
|
||||
break;
|
||||
case -2:
|
||||
sprintf(numstring, "[i] That appears to be your own key");
|
||||
printf(numstring);
|
||||
break;
|
||||
case -3:
|
||||
sprintf(numstring, "[i] Friend request already sent");
|
||||
printf(numstring);
|
||||
break;
|
||||
case -4:
|
||||
sprintf(numstring, "[i] Could not add friend");
|
||||
printf(numstring);
|
||||
break;
|
||||
default:
|
||||
sprintf(numstring, "\n[i] added friend %d\n\n", num);
|
||||
|
|
Loading…
Reference in New Issue
Block a user