diff options
author | irungentoo <irungentoo@gmail.com> | 2013-08-14 05:01:40 -0700 |
---|---|---|
committer | irungentoo <irungentoo@gmail.com> | 2013-08-14 05:01:40 -0700 |
commit | eeafe23f2e1dc986d9b1a989fb68cf2768573751 (patch) | |
tree | c752f2832a21b532e53e964d1148478b8f44c024 /testing/toxic | |
parent | a8d1f86f8ba9b39c8f913bce99a2282d81235cc9 (diff) | |
parent | 3b42f489e495748b729958b3be18954eb27e75f7 (diff) |
Merge pull request #460 from krisl/master
Have toxic handle new no-spam values from friend request
Diffstat (limited to 'testing/toxic')
-rw-r--r-- | testing/toxic/prompt.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/testing/toxic/prompt.c b/testing/toxic/prompt.c index e1a7d75c..b1d6693f 100644 --- a/testing/toxic/prompt.c +++ b/testing/toxic/prompt.c | |||
@@ -138,6 +138,12 @@ void cmd_add(ToxWindow *self, Messenger *m, char **args) | |||
138 | case FAERR_UNKNOWN: | 138 | case FAERR_UNKNOWN: |
139 | wprintw(self->window, "Undefined error when adding friend.\n"); | 139 | wprintw(self->window, "Undefined error when adding friend.\n"); |
140 | break; | 140 | break; |
141 | case FAERR_BADCHECKSUM: | ||
142 | wprintw(self->window, "Bad checksum in address.\n"); | ||
143 | break; | ||
144 | case FAERR_SETNEWNOSPAM: | ||
145 | wprintw(self->window, "Nospam was different.\n"); | ||
146 | break; | ||
141 | default: | 147 | default: |
142 | wprintw(self->window, "Friend added as %d.\n", num); | 148 | wprintw(self->window, "Friend added as %d.\n", num); |
143 | on_friendadded(num); | 149 | on_friendadded(num); |