From aa2231b32ba2a9553a34be71ca9fd7e12275d6f5 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Mon, 28 Dec 2015 17:28:57 +0100 Subject: m + all of this is probably unnecessary for most users MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/satd-diminished.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/satd-diminished.c') diff --git a/src/satd-diminished.c b/src/satd-diminished.c index b18c5cf..fd41f14 100644 --- a/src/satd-diminished.c +++ b/src/satd-diminished.c @@ -85,6 +85,8 @@ main(int argc, char *argv[]) const char *image; struct stat _attr; + /* TODO set up signal handlers. */ + /* Pick-up where we left off. */ if (!fstat(CONN_FILENO, &_attr)) { fd = CONN_FILENO; @@ -93,6 +95,7 @@ main(int argc, char *argv[]) goto fail; } + /* The magnificent loop. */ accept_again: fd = accept(SOCK_FILENO, NULL, NULL); if (fd == -1) { -- cgit v1.2.3-70-g09d2