commit 6233494e4c5941e8a7a54c57d1baad1fdcfafdf6 parent 83a2721946aade9f6fcf848e8acc99f3109d662c Author: sin <sin@2f30.org> Date: Tue, 16 Sep 2014 17:30:23 +0100 Catch TOX_FAERR_{BADCHECKSUM,SETNEWNOSPAM} Diffstat:
M | ratatox.c | | | 6 | ++++++ |
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git 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;