aboutsummaryrefslogtreecommitdiffstats
path: root/socket.c
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2011-05-22 22:45:48 +0200
committerMatthias Andree <matthias.andree@gmx.de>2011-05-26 23:14:30 +0200
commit68accfa42c00af928e2081b8ca9b47728eb228ae (patch)
treec85d0cd0f4fdbaa01735eec7234c8f73edcf0238 /socket.c
parenteb9e1e4176d89ee30d33381273e22325584675d3 (diff)
downloadfetchmail-68accfa42c00af928e2081b8ca9b47728eb228ae.tar.gz
fetchmail-68accfa42c00af928e2081b8ca9b47728eb228ae.tar.bz2
fetchmail-68accfa42c00af928e2081b8ca9b47728eb228ae.zip
Reindent.
Diffstat (limited to 'socket.c')
-rw-r--r--socket.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/socket.c b/socket.c
index 26e37de8..3bf23fa6 100644
--- a/socket.c
+++ b/socket.c
@@ -246,12 +246,12 @@ int UnixOpen(const char *path)
return -1;
}
- /* Socket opened saved. Usefull if connect timeout
- * because it can be closed.
- */
- mailserver_socket_temp = sock;
-
- if (connect(sock, (struct sockaddr *) &ad, sizeof(ad)) < 0)
+ /* Socket opened saved. Usefull if connect timeout
+ * because it can be closed.
+ */
+ mailserver_socket_temp = sock;
+
+ if (connect(sock, (struct sockaddr *) &ad, sizeof(ad)) < 0)
{
int olderr = errno;
fm_close(sock); /* don't use SockClose, no traffic yet */
@@ -259,9 +259,9 @@ int UnixOpen(const char *path)
errno = olderr;
sock = -1;
}
-
- /* No connect timeout, then no need to set mailserver_socket_temp */
- mailserver_socket_temp = -1;
+
+ /* No connect timeout, then no need to set mailserver_socket_temp */
+ mailserver_socket_temp = -1;
return sock;
}