summaryrefslogtreecommitdiff
path: root/testing/nTox_win32.c
diff options
context:
space:
mode:
authorirungentoo <irungentoo@gmail.com>2013-08-01 17:38:29 -0700
committerirungentoo <irungentoo@gmail.com>2013-08-01 17:38:29 -0700
commitaf8e84345171538e70e2e3562e1c51da32e306df (patch)
treebf683baa454e74241ead3f319105e3490c965481 /testing/nTox_win32.c
parent276e3f9271241839083bfa22a4ba422c4b28785d (diff)
parent8abc0a346209512901254f981dab62c67a632f4a (diff)
Merge pull request #229 from JFreegman/master
fixed friend add bugs and gave no message its own error
Diffstat (limited to 'testing/nTox_win32.c')
-rw-r--r--testing/nTox_win32.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/testing/nTox_win32.c b/testing/nTox_win32.c
index 2394877f..42780923 100644
--- a/testing/nTox_win32.c
+++ b/testing/nTox_win32.c
@@ -132,13 +132,15 @@ void line_eval(char* line)
132 printf(numstring); 132 printf(numstring);
133 } 133 }
134 else if (num == -1) 134 else if (num == -1)
135 printf("\nWrong key size\n\n"); 135 printf("\n[i] Message is too long.\n\n");
136 else if (num == -2) 136 else if (num == -2)
137 printf("\nYou can't add yourself\n\n"); 137 printf("\n[i] Please add a message to your friend request.\n\n");
138 else if (num == -3) 138 else if (num == -3)
139 printf("\nYou already have this person added\n\n"); 139 printf("\n[i] That appears to be your own ID.\n\n");
140 else if (num == -4) 140 else if (num == -4)
141 printf("\nUndefined error when adding friend"); 141 printf("\n[i] Friend request already sent.\n\n");
142 else if (num == -5)
143 printf("\n[i] Undefined error when adding friend\n\n");
142 } 144 }
143 145
144 else if (inpt_command == 'r') { 146 else if (inpt_command == 'r') {