diff options
author | Matthias Andree <matthias.andree@gmx.de> | 2011-05-22 22:45:48 +0200 |
---|---|---|
committer | Matthias Andree <matthias.andree@gmx.de> | 2011-05-26 23:14:30 +0200 |
commit | 68accfa42c00af928e2081b8ca9b47728eb228ae (patch) | |
tree | c85d0cd0f4fdbaa01735eec7234c8f73edcf0238 /socket.c | |
parent | eb9e1e4176d89ee30d33381273e22325584675d3 (diff) | |
download | fetchmail-68accfa42c00af928e2081b8ca9b47728eb228ae.tar.gz fetchmail-68accfa42c00af928e2081b8ca9b47728eb228ae.tar.bz2 fetchmail-68accfa42c00af928e2081b8ca9b47728eb228ae.zip |
Reindent.
Diffstat (limited to 'socket.c')
-rw-r--r-- | socket.c | 18 |
1 files changed, 9 insertions, 9 deletions
@@ -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; } |