aboutsummaryrefslogtreecommitdiffstats
path: root/src/satd-diminished.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@member.fsf.org>2015-12-29 00:59:19 +0100
committerMattias Andrée <maandree@member.fsf.org>2015-12-29 00:59:19 +0100
commitd679ea3129781ef564c1f91194104ce7692bb102 (patch)
tree966f69d63bd1c5b1229aa99ee4378e6e0f50e74d /src/satd-diminished.c
parentreopen state file, we will use flock on it, so all processes need their own open file descriptor for it (diff)
downloadsat-d679ea3129781ef564c1f91194104ce7692bb102.tar.gz
sat-d679ea3129781ef564c1f91194104ce7692bb102.tar.bz2
sat-d679ea3129781ef564c1f91194104ce7692bb102.tar.xz
fix errors
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
Diffstat (limited to 'src/satd-diminished.c')
-rw-r--r--src/satd-diminished.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/satd-diminished.c b/src/satd-diminished.c
index a3a2807..606d8ec 100644
--- a/src/satd-diminished.c
+++ b/src/satd-diminished.c
@@ -84,7 +84,6 @@ main(int argc, char *argv[], char *envp[])
pid_t pid;
char type;
const char *image;
- struct stat _attr;
/* Set up signal handlers. */
if (signal(SIGHUP, sighandler) == SIG_ERR) goto fail;
@@ -109,7 +108,6 @@ accept_again:
goto fail;
}
}
-peek_again:
if (read(fd, &type, sizeof(char)) <= 0) {
perror(argv[0]);
goto connection_done;