about summary refs log tree commit diff homepage
path: root/server.c
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 /server.c
parentCheck COLOR_PAIRS in client (diff)
downloadtorus-d3c3c4c561fc96e3a753e9e4c2996a19eb06a9eb.tar.gz
torus-d3c3c4c561fc96e3a753e9e4c2996a19eb06a9eb.zip
Clean up unnecessary kevent initializers
Diffstat (limited to 'server.c')
-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);
tle='2020-03-03 02:01:41 -0500'>2020-03-03Use getopts in shell scriptsJune McEnroe 2020-02-27Style %T outside of Rs in italicJune McEnroe 2020-02-26Add Fierce Femmes and Notorious LiarsJune McEnroe 2020-02-23Add This Is How You Lose the Time WarJune McEnroe 2020-02-22Add See Ya LaterJune McEnroe 2020-02-20Remove wiki scriptJune McEnroe 2020-02-19Add The Obelisk GateJune McEnroe 2020-02-17Add Four Tet — HandsJune McEnroe 2020-02-12Simplify macOS notify-sendJune McEnroe 2020-02-12Add imbox and notemap to pageJune McEnroe 2020-02-12Collapse simple linksJune McEnroe 2020-02-12Move catgirl up the pageJune McEnroe 2020-02-12Update catgirl pty grabJune McEnroe 2020-02-12Link to cgit /about pages where appropriateJune McEnroe 2020-02-11Separate LINKS from BINS for html to workJune McEnroe 2020-02-11Add margin to Bl-bullet itemsJune McEnroe 2020-02-10Match URLs inside parens or with paired parens insideJune McEnroe 2020-02-10Duplicate effective URL before passing it back to curlJune McEnroe 2020-02-09Add To Be Taught, If FortunateJune McEnroe 2020-02-04Add The Future of Another TimelineJune McEnroe 2020-01-31Reorganize the Makefile for the umpteenth timeJune McEnroe 2020-01-28Change scout sensitivity to 1.4June McEnroe 2020-01-28Import shows.txtJune McEnroe