aboutsummaryrefslogtreecommitdiffstats
path: root/src/satd-list.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/satd-list.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/satd-list.c b/src/satd-list.c
index 7cbc2bb..a7d13e3 100644
--- a/src/satd-list.c
+++ b/src/satd-list.c
@@ -38,10 +38,10 @@ main(int argc, char *argv[])
{
size_t n = 0;
char *message = NULL;
- char **msg_argv = NULL;
/* Receive and validate message. */
t (readall(SOCK_FILENO, &message, &n) || n);
+ shutdown(SOCK_FILENO, SHUT_RD);
return 0;
fail: