diff options
-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 d887e27..7ab6478 100644 --- a/src/satd-diminished.c +++ b/src/satd-diminished.c @@ -92,7 +92,7 @@ accept_again: } } fork_again: - if (recv(fd, &type, (size_t)1, 0) <= 0) { + if (recv(fd, &type, (size_t)1, MSG_PEEK /* Just peek in case we fail! */) <= 0) { perror(argv[0]); goto connection_done; } |