From 6233494e4c5941e8a7a54c57d1baad1fdcfafdf6 Mon Sep 17 00:00:00 2001 From: sin Date: Tue, 16 Sep 2014 17:30:23 +0100 Subject: Catch TOX_FAERR_{BADCHECKSUM,SETNEWNOSPAM} --- ratatox.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'ratatox.c') diff --git a/ratatox.c b/ratatox.c index 9ddbd45..64575d5 100644 --- a/ratatox.c +++ b/ratatox.c @@ -951,6 +951,12 @@ again: case TOX_FAERR_UNKNOWN: fprintf(stderr, "Unknown error while sending your request\n"); break; + case TOX_FAERR_BADCHECKSUM: + fprintf(stderr, "Bad checksum while verifying address\n"); + break; + case TOX_FAERR_SETNEWNOSPAM: + fprintf(stderr, "Friend already added but nospam doesn't match\n"); + break; default: printout("Friend request sent\n"); break; -- cgit v1.2.3