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-22 22:45:48 +0200 |
commit | f3b0aa05fd1a1912d9c5fad7ebbaa7dcec31e047 (patch) | |
tree | 4dd35834627396acbc9413adf84d6bfaf957cd93 /socket.c | |
parent | aee0a1be4163b06ae8d32dff93d13a87668423b3 (diff) | |
download | fetchmail-f3b0aa05fd1a1912d9c5fad7ebbaa7dcec31e047.tar.gz fetchmail-f3b0aa05fd1a1912d9c5fad7ebbaa7dcec31e047.tar.bz2 fetchmail-f3b0aa05fd1a1912d9c5fad7ebbaa7dcec31e047.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; } |