aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMattias Andrée <maandree@member.fsf.org>2015-12-28 17:28:57 +0100
committerMattias Andrée <maandree@member.fsf.org>2015-12-28 17:29:24 +0100
commitaa2231b32ba2a9553a34be71ca9fd7e12275d6f5 (patch)
tree2cc7520c087f39874bc3031858948e53a22b99cf /src
parentm (diff)
downloadsat-aa2231b32ba2a9553a34be71ca9fd7e12275d6f5.tar.gz
sat-aa2231b32ba2a9553a34be71ca9fd7e12275d6f5.tar.bz2
sat-aa2231b32ba2a9553a34be71ca9fd7e12275d6f5.tar.xz
m + all of this is probably unnecessary for most users
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
Diffstat (limited to 'src')
-rw-r--r--src/satd-diminished.c3
1 files changed, 3 insertions, 0 deletions
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) {