summaryrefslogtreecommitdiff
path: root/ratox.c
diff options
context:
space:
mode:
authorsin <sin@2f30.org>2014-12-23 15:48:01 +0000
committersin <sin@2f30.org>2014-12-23 15:48:01 +0000
commit3da7f469b6eb8aa553c6edc26de56dd23255746e (patch)
treee50d00317cce4981e11c25d8d7dc2f2a7bf87572 /ratox.c
parent27c8fe124ade7cb4fa36bb709cc6ccfa9d237792 (diff)
Properly align tables as well
Diffstat (limited to 'ratox.c')
-rw-r--r--ratox.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/ratox.c b/ratox.c
index 4eaca12..35ca4f0 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_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_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_FAERR_NOMEM] = "Error increasing the friend list size"
};
struct node {
@@ -80,9 +80,9 @@ static void setnospam(void *);
enum { NAME, STATUS, STATE, REQUEST, NOSPAM };
static struct slot gslots[] = {
- [NAME] = { .name = "name", .cb = setname, .outisfolder = 0, .dirfd = -1, .fd = {-1, -1, -1} },
+ [NAME] = { .name = "name", .cb = setname, .outisfolder = 0, .dirfd = -1, .fd = {-1, -1, -1} },
[STATUS] = { .name = "status", .cb = setstatus, .outisfolder = 0, .dirfd = -1, .fd = {-1, -1, -1} },
- [STATE] = { .name = "state", .cb = setuserstate, .outisfolder = 0, .dirfd = -1, .fd = {-1, -1, -1} },
+ [STATE] = { .name = "state", .cb = setuserstate, .outisfolder = 0, .dirfd = -1, .fd = {-1, -1, -1} },
[REQUEST] = { .name = "request", .cb = sendfriendreq, .outisfolder = 1, .dirfd = -1, .fd = {-1, -1, -1} },
[NOSPAM] = { .name = "nospam", .cb = setnospam, .outisfolder = 0, .dirfd = -1, .fd = {-1, -1, -1} },
};
@@ -107,9 +107,9 @@ static struct file ffiles[] = {
};
static char *ustate[] = {
- [TOX_USERSTATUS_NONE] = "none",
- [TOX_USERSTATUS_AWAY] = "away",
- [TOX_USERSTATUS_BUSY] = "busy",
+ [TOX_USERSTATUS_NONE] = "none",
+ [TOX_USERSTATUS_AWAY] = "away",
+ [TOX_USERSTATUS_BUSY] = "busy",
[TOX_USERSTATUS_INVALID] = "invalid"
};