summaryrefslogtreecommitdiff
path: root/libtac/lib/connect.c
diff options
context:
space:
mode:
authorJeroen <jeroen@nijhofnet.nl>2011-08-19 23:00:05 +0200
committerJeroen <jeroen@nijhofnet.nl>2011-08-19 23:00:05 +0200
commit638486dec6577299c7d8282da4b2f02fc9871bbd (patch)
tree763974070ab0675740ec2966b9f64e123d2a7e33 /libtac/lib/connect.c
parentd1134977b9317c6161ae12608684ea857915a63c (diff)
downloadpam_tacplus-638486dec6577299c7d8282da4b2f02fc9871bbd.tar.gz
pam_tacplus-638486dec6577299c7d8282da4b2f02fc9871bbd.zip
Finally got rid of all goto illness!
Diffstat (limited to 'libtac/lib/connect.c')
-rw-r--r--libtac/lib/connect.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libtac/lib/connect.c b/libtac/lib/connect.c
index bbbb270..15dc756 100644
--- a/libtac/lib/connect.c
+++ b/libtac/lib/connect.c
@@ -60,7 +60,7 @@ int tac_connect(struct addrinfo **server, char **key, int servers) {
/* all attempts failed if fd is still < 0 */
TACDEBUG((LOG_DEBUG, "%s: exit status=%d",__FUNCTION__, fd))
- return(fd);
+ return fd;
} /* tac_connect */
@@ -164,7 +164,7 @@ int tac_connect_single(struct addrinfo *server, char *key) {
TACDEBUG((LOG_DEBUG, "%s: exit status=%d (fd=%d)",\
__FUNCTION__, retval < 0 ? retval:0, fd))
- return(retval);
+ return retval;
} /* tac_connect_single */