summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaweł Krawczyk <pawel.krawczyk@hush.com>2015-06-29 12:53:31 +0100
committerPaweł Krawczyk <pawel.krawczyk@hush.com>2015-06-29 12:53:31 +0100
commitdb09c62ce678dc292a328f7e982dcb8773194fad (patch)
treea9e94543bd85236021addb2b8654cfe04d82ab64
parent6196e27e98fdfd488a07c33150ed890e51f2a8d1 (diff)
parent3bd1d53d69ac62ab312893f9366bf4adb7d09728 (diff)
downloadpam_tacplus-db09c62ce678dc292a328f7e982dcb8773194fad.tar.gz
pam_tacplus-db09c62ce678dc292a328f7e982dcb8773194fad.zip
Merge pull request #31 from DStape/fix-missing-semicolons
Fix missing semicolons
-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;
}