diff options
author | Mattias Andrée <maandree@member.fsf.org> | 2015-12-28 20:34:50 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@member.fsf.org> | 2015-12-28 20:34:50 +0100 |
commit | 4e8a81872679c3f01c344451da839523b8640f0f (patch) | |
tree | 7433b3753f484bf72ce0f2e913a8807feaf154e7 /src/satd-list.c | |
parent | m + receive messages (diff) | |
download | sat-4e8a81872679c3f01c344451da839523b8640f0f.tar.gz sat-4e8a81872679c3f01c344451da839523b8640f0f.tar.bz2 sat-4e8a81872679c3f01c344451da839523b8640f0f.tar.xz |
m
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
Diffstat (limited to 'src/satd-list.c')
-rw-r--r-- | src/satd-list.c | 2 |
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: |