nserver

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | LICENSE

commit 753116f2ff57192aba2c0ec70e81fe7fa21a1671
parent 0849322659c0c546f1086de7df0591ad389d07a3
Author: rsiddharth <s@ricketyspace.net>
Date:   Sun, 15 Sep 2019 14:15:43 -0400

nserver/bin/statserve.c: Update main.

* nserver/bin/statserve.c (main): Remove 'check' calls for close socke
statements in the error block.

Diffstat:
nserver/bin/statserve.c | 2--
1 file changed, 0 insertions(+), 2 deletions(-)

diff --git a/nserver/bin/statserve.c b/nserver/bin/statserve.c @@ -88,11 +88,9 @@ int main(void) error: if (sockfd_s) { rc = close(sockfd_s); - check(rc == 0, "statserv: close failed"); } if (sockfd_c) { rc = close(sockfd_c); - check(rc == 0, "statserv: close failed"); } return -1;