diff options
author | Mattias Andrée <maandree@member.fsf.org> | 2015-12-28 18:04:43 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@member.fsf.org> | 2015-12-28 18:04:43 +0100 |
commit | dc0cdc96be9b1c8b76084e7bd7ce82024fb2c85d (patch) | |
tree | 5b2c86c8847e4fc07db019cc77094709d3120040 | |
parent | m + reexec on sighup + reap children (diff) | |
download | sat-dc0cdc96be9b1c8b76084e7bd7ce82024fb2c85d.tar.gz sat-dc0cdc96be9b1c8b76084e7bd7ce82024fb2c85d.tar.bz2 sat-dc0cdc96be9b1c8b76084e7bd7ce82024fb2c85d.tar.xz |
m
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
Diffstat (limited to '')
-rw-r--r-- | src/satd-diminished.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/satd-diminished.c b/src/satd-diminished.c index 4f490f2..f2e039f 100644 --- a/src/satd-diminished.c +++ b/src/satd-diminished.c @@ -150,7 +150,7 @@ accept_again: close(fd), fd = CONN_FILENO; } peek_again: - if (recv(fd, &type, (size_t)1, MSG_PEEK /* Just peek in case we fail! */) <= 0) { + if (recv(fd, &type, sizeof(char), MSG_PEEK /* Just peek in case we fail! */) <= 0) { perror(argv[0]); goto connection_done; } |