diff options
author | sin <sin@2f30.org> | 2014-09-16 17:30:23 +0100 |
---|---|---|
committer | sin <sin@2f30.org> | 2014-09-16 17:30:23 +0100 |
commit | 6233494e4c5941e8a7a54c57d1baad1fdcfafdf6 (patch) | |
tree | 1424cf50074ae9965ae469d5ea095d9e9f335e9f | |
parent | 83a2721946aade9f6fcf848e8acc99f3109d662c (diff) |
Catch TOX_FAERR_{BADCHECKSUM,SETNEWNOSPAM}
-rw-r--r-- | ratatox.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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; |