about summary refs log tree commit diff homepage
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2017-08-13 14:38:33 -0400
committerJune McEnroe <june@causal.agency>2017-08-13 14:38:33 -0400
commitd3c3c4c561fc96e3a753e9e4c2996a19eb06a9eb (patch)
treee03404e0bbd309a4767c55dd996105c6d9ed97a2
parentCheck COLOR_PAIRS in client (diff)
downloadtorus-d3c3c4c561fc96e3a753e9e4c2996a19eb06a9eb.tar.gz
torus-d3c3c4c561fc96e3a753e9e4c2996a19eb06a9eb.zip
Clean up unnecessary kevent initializers
-rwxr-xr-xserver.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/server.c b/server.c
index c3ae650..e360067 100755
--- a/server.c
+++ b/server.c
@@ -279,9 +279,6 @@ int main() {
         .ident = server,
         .filter = EVFILT_READ,
         .flags = EV_ADD,
-        .fflags = 0,
-        .data = 0,
-        .udata = NULL,
     };
     int nevents = kevent(kq, &event, 1, NULL, 0, NULL);
     if (nevents < 0) err(EX_OSERR, "kevent");
@@ -330,8 +327,6 @@ int main() {
             .ident = fd,
             .filter = EVFILT_READ,
             .flags = EV_ADD,
-            .fflags = 0,
-            .data = 0,
             .udata = client,
         };
         nevents = kevent(kq, &event, 1, NULL, 0, NULL);
ref='/catgirl/commit/chatte.1?h=1.7&id=cd41c2a1ce9178785b1cca126a1cf1f54b6c0274&follow=1'>Add note about C-oJune McEnroe 2018-09-12Use formatParse split to position input cursorJune McEnroe 2018-09-12Factor out IRC formatting parsingJune McEnroe 2018-09-11Add /help equivalent to /manJune McEnroe 2018-09-11Don't render every PM as a pingJune McEnroe 2018-09-11Add urlOpenMatchJune McEnroe 2018-09-10Depend on man.sh for chroot.tar targetJune McEnroe 2018-09-10Set LESSSECURE=1 in man.shJune McEnroe 2018-09-10Add /man commandJune McEnroe 2018-09-10Install man page in chrootJune McEnroe 2018-09-10Install man pageJune McEnroe 2018-09-10Split keys into subsections and document colorsJune McEnroe 2018-09-10Add "blank" lines to chatte.1June McEnroe 2018-09-10Document key bindings in chatte.1June McEnroe 2018-09-08Document slash commands in chatte.1June McEnroe