summaryrefslogtreecommitdiff
path: root/ratox.c
diff options
context:
space:
mode:
authorz3bra <contactatz3bradotorg>2016-11-01 00:20:58 +0100
committerz3bra <contactatz3bradotorg>2016-11-08 16:47:51 +0100
commitbdfaab62d7037ff1f4963b2ca2fe21eea8d2bc04 (patch)
treecc3fee80d8658da30e834b85b2dc3d3b02417c9c /ratox.c
parent92a1fc5853d2c78400ccb02c6c09bc42f6732a04 (diff)
Update friend request message constants
Diffstat (limited to 'ratox.c')
-rw-r--r--ratox.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/ratox.c b/ratox.c
index 8c28831..9fb09b2 100644
--- a/ratox.c
+++ b/ratox.c
@@ -27,14 +27,14 @@
#include "util.h"
const char *reqerr[] = {
- [-TOX_FAERR_TOOLONG] = "Message is too long",
- [-TOX_FAERR_NOMESSAGE] = "Please add a message to your request",
- [-TOX_FAERR_OWNKEY] = "That appears to be your own ID",
- [-TOX_FAERR_ALREADYSENT] = "Friend request already sent",
- [-TOX_FAERR_UNKNOWN] = "Unknown error while sending your request",
- [-TOX_FAERR_BADCHECKSUM] = "Bad checksum while verifying address",
- [-TOX_FAERR_SETNEWNOSPAM] = "Friend already added but invalid nospam",
- [-TOX_FAERR_NOMEM] = "Error increasing the friend list size"
+ [TOX_ERR_FRIEND_ADD_NULL] = "One required argument is missing",
+ [TOX_ERR_FRIEND_ADD_TOO_LONG] = "Message is too long",
+ [TOX_ERR_FRIEND_ADD_NO_MESSAGE] = "Please add a message to your request",
+ [TOX_ERR_FRIEND_ADD_OWN_KEY] = "That appears to be your own ID",
+ [TOX_ERR_FRIEND_ADD_ALREADY_SENT] = "Friend request already sent",
+ [TOX_ERR_FRIEND_ADD_BAD_CHECKSUM] = "Bad checksum while verifying address",
+ [TOX_ERR_FRIEND_ADD_SET_NEW_NOSPAM] = "Friend already added but invalid nospam",
+ [TOX_ERR_FRIEND_ADD_MALLOC] = "Error increasing the friend list size"
};
struct node {