about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-02-01 02:19:55 -0500
committerJune McEnroe <june@causal.agency>2020-02-01 02:19:55 -0500
commit856d40d1212ec835b092a8f275124d09a65ba59d (patch)
treeb8c1ca07e2b452db45ef1a93ab62f9019a94e6db
parentBlindly implement login flow (diff)
downloadcatgirl-856d40d1212ec835b092a8f275124d09a65ba59d.tar.gz
catgirl-856d40d1212ec835b092a8f275124d09a65ba59d.zip
Fix CapNames array indices
Diffstat (limited to '')
-rw-r--r--handle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/handle.c b/handle.c
index 4084525..96bd2a2 100644
--- a/handle.c
+++ b/handle.c
@@ -24,7 +24,7 @@
 #include "chat.h"
 
 static const char *CapNames[] = {
-#define X(name, id) [id] = name,
+#define X(name, id) [id##Bit] = name,
 	ENUM_CAP
 #undef X
 };
ass='decoration'> 3.3.1p1June McEnroe 2021-03-05build: Add OpenSSL includes to libcompatJune McEnroe 2020-12-15Import LibreSSL 3.3.1June McEnroe 2020-11-24Import LibreSSL 3.3.0June McEnroe 2020-10-22Import LibreSSL 3.2.2June McEnroe 2020-09-29Import LibreSSL 3.2.1June McEnroe 2020-09-29import: Add m4/ax_add_fortify_source.m4June McEnroe 2020-08-05build: Add README.7 to EXTRA_DIST 3.2.0June McEnroe 2020-08-03doc: Indicate that only OpenSSL 1.1.1b and newer workJune McEnroe