From bdfaab62d7037ff1f4963b2ca2fe21eea8d2bc04 Mon Sep 17 00:00:00 2001 From: z3bra Date: Tue, 1 Nov 2016 00:20:58 +0100 Subject: Update friend request message constants --- ratox.c | 16 ++++++++-------- 1 file 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 { -- cgit v1.2.3