diff options
author | Jfreegman <Jfreegman@gmail.com> | 2013-08-01 15:27:08 -0400 |
---|---|---|
committer | Jfreegman <Jfreegman@gmail.com> | 2013-08-01 15:27:08 -0400 |
commit | 8abc0a346209512901254f981dab62c67a632f4a (patch) | |
tree | faf445c6c9f4f8596d56118a335e0d1858a6957b /testing/nTox_win32.c | |
parent | a604de901702eabcdc73507025e77e34db6a9266 (diff) |
added error code for no message on friend add & updated nTox.c/nTox_win32.c
Diffstat (limited to 'testing/nTox_win32.c')
-rw-r--r-- | testing/nTox_win32.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/testing/nTox_win32.c b/testing/nTox_win32.c index b9208d4f..8d9f3547 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') { |