From 3b42f489e495748b729958b3be18954eb27e75f7 Mon Sep 17 00:00:00 2001 From: Aaron Lipinski Date: Wed, 14 Aug 2013 21:16:02 +1200 Subject: Have toxic handle new no-spam values from friend request --- testing/toxic/prompt.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'testing/toxic') 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) case FAERR_UNKNOWN: wprintw(self->window, "Undefined error when adding friend.\n"); break; + case FAERR_BADCHECKSUM: + wprintw(self->window, "Bad checksum in address.\n"); + break; + case FAERR_SETNEWNOSPAM: + wprintw(self->window, "Nospam was different.\n"); + break; default: wprintw(self->window, "Friend added as %d.\n", num); on_friendadded(num); -- cgit v1.2.3