From 4e8a81872679c3f01c344451da839523b8640f0f Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Mon, 28 Dec 2015 20:34:50 +0100 Subject: m MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/satd-list.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/satd-list.c') 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: -- cgit v1.2.3-70-g09d2