summaryrefslogtreecommitdiff
path: root/libtac/lib/connect.c
diff options
context:
space:
mode:
authorDavid Stapleton <dstaplet@brocade.com>2015-06-29 12:43:16 +0100
committerDavid Stapleton <dstaplet@brocade.com>2015-06-29 12:43:16 +0100
commit3bd1d53d69ac62ab312893f9366bf4adb7d09728 (patch)
treea9e94543bd85236021addb2b8654cfe04d82ab64 /libtac/lib/connect.c
parent6196e27e98fdfd488a07c33150ed890e51f2a8d1 (diff)
downloadpam_tacplus-3bd1d53d69ac62ab312893f9366bf4adb7d09728.tar.gz
pam_tacplus-3bd1d53d69ac62ab312893f9366bf4adb7d09728.zip
Fix missing semicolons
Diffstat (limited to 'libtac/lib/connect.c')
-rw-r--r--libtac/lib/connect.c6
1 files 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;
}