From 3bd1d53d69ac62ab312893f9366bf4adb7d09728 Mon Sep 17 00:00:00 2001 From: David Stapleton Date: Mon, 29 Jun 2015 12:43:16 +0100 Subject: Fix missing semicolons --- libtac/lib/connect.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libtac/lib/connect.c b/libtac/lib/connect.c index b39c210..beb104b 100644 --- a/libtac/lib/connect.c +++ b/libtac/lib/connect.c @@ -98,7 +98,7 @@ int tac_connect_single(struct addrinfo *server, const char *key, struct addrinfo if( fcntl(fd, F_SETFL, flags | O_NONBLOCK) == -1 ) { TACSYSLOG((LOG_ERR, "%s: cannot set socket non blocking",\ __FUNCTION__)) - close(fd) + close(fd); return LIBTAC_STATUS_CONN_ERR; } @@ -107,7 +107,7 @@ int tac_connect_single(struct addrinfo *server, const char *key, struct addrinfo if (bind(fd, srcaddr->ai_addr, srcaddr->ai_addrlen) < 0) { TACSYSLOG((LOG_ERR, "%s: Failed to bind source address: %s", __FUNCTION__, strerror(errno))) - close(fd) + close(fd); return LIBTAC_STATUS_CONN_ERR; } } @@ -117,7 +117,7 @@ int tac_connect_single(struct addrinfo *server, const char *key, struct addrinfo if((rc == -1) && (errno != EINPROGRESS) && (errno != 0)) { TACSYSLOG((LOG_ERR,\ "%s: connection to %s failed: %m", __FUNCTION__, ip)) - close(fd) + close(fd); return LIBTAC_STATUS_CONN_ERR; } -- cgit v1.2.3