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-22 22:45:48 +0200
commitf3b0aa05fd1a1912d9c5fad7ebbaa7dcec31e047 (patch)
tree4dd35834627396acbc9413adf84d6bfaf957cd93 /socket.c
parentaee0a1be4163b06ae8d32dff93d13a87668423b3 (diff)
downloadfetchmail-f3b0aa05fd1a1912d9c5fad7ebbaa7dcec31e047.tar.gz
fetchmail-f3b0aa05fd1a1912d9c5fad7ebbaa7dcec31e047.tar.bz2
fetchmail-f3b0aa05fd1a1912d9c5fad7ebbaa7dcec31e047.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 f513d9ff..33b7c40c 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;
}