diff options
| author | Juanma Barranquero | 2011-09-09 03:06:52 +0200 |
|---|---|---|
| committer | Juanma Barranquero | 2011-09-09 03:06:52 +0200 |
| commit | 5e617bc2b62189768814fafd1a875e89a094d3ef (patch) | |
| tree | d96d22e012035d044557abf4de0b8e30b03d61b7 /lib-src/pop.c | |
| parent | 9b1c252e294bed3aef0d2f2fc5d1fa9f72df9ee8 (diff) | |
| download | emacs-5e617bc2b62189768814fafd1a875e89a094d3ef.tar.gz emacs-5e617bc2b62189768814fafd1a875e89a094d3ef.zip | |
Whitespace changes.
Diffstat (limited to 'lib-src/pop.c')
| -rw-r--r-- | lib-src/pop.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/lib-src/pop.c b/lib-src/pop.c index a94e06fbd87..ae1000742cc 100644 --- a/lib-src/pop.c +++ b/lib-src/pop.c | |||
| @@ -34,15 +34,15 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 34 | #include "ntlib.h" | 34 | #include "ntlib.h" |
| 35 | #include <winsock.h> | 35 | #include <winsock.h> |
| 36 | #undef SOCKET_ERROR | 36 | #undef SOCKET_ERROR |
| 37 | #define RECV(s,buf,len,flags) recv(s,buf,len,flags) | 37 | #define RECV(s,buf,len,flags) recv (s,buf,len,flags) |
| 38 | #define SEND(s,buf,len,flags) send(s,buf,len,flags) | 38 | #define SEND(s,buf,len,flags) send (s,buf,len,flags) |
| 39 | #define CLOSESOCKET(s) closesocket(s) | 39 | #define CLOSESOCKET(s) closesocket (s) |
| 40 | #else | 40 | #else |
| 41 | #include <netinet/in.h> | 41 | #include <netinet/in.h> |
| 42 | #include <sys/socket.h> | 42 | #include <sys/socket.h> |
| 43 | #define RECV(s,buf,len,flags) read(s,buf,len) | 43 | #define RECV(s,buf,len,flags) read (s,buf,len) |
| 44 | #define SEND(s,buf,len,flags) write(s,buf,len) | 44 | #define SEND(s,buf,len,flags) write (s,buf,len) |
| 45 | #define CLOSESOCKET(s) close(s) | 45 | #define CLOSESOCKET(s) close (s) |
| 46 | #endif | 46 | #endif |
| 47 | #include <pop.h> | 47 | #include <pop.h> |
| 48 | 48 | ||
| @@ -101,7 +101,7 @@ extern char *krb_realmofhost (/* char * */); | |||
| 101 | #endif /* KERBEROS */ | 101 | #endif /* KERBEROS */ |
| 102 | 102 | ||
| 103 | #ifndef WINDOWSNT | 103 | #ifndef WINDOWSNT |
| 104 | #if !defined(HAVE_H_ERRNO) || !defined(HAVE_CONFIG_H) | 104 | #if !defined (HAVE_H_ERRNO) || !defined (HAVE_CONFIG_H) |
| 105 | extern int h_errno; | 105 | extern int h_errno; |
| 106 | #endif | 106 | #endif |
| 107 | #endif | 107 | #endif |
| @@ -1067,7 +1067,7 @@ socket_connection (char *host, int flags) | |||
| 1067 | } | 1067 | } |
| 1068 | 1068 | ||
| 1069 | #ifdef HAVE_GETADDRINFO | 1069 | #ifdef HAVE_GETADDRINFO |
| 1070 | memset (&hints, 0, sizeof(hints)); | 1070 | memset (&hints, 0, sizeof (hints)); |
| 1071 | hints.ai_socktype = SOCK_STREAM; | 1071 | hints.ai_socktype = SOCK_STREAM; |
| 1072 | hints.ai_flags = AI_CANONNAME; | 1072 | hints.ai_flags = AI_CANONNAME; |
| 1073 | hints.ai_family = AF_INET; | 1073 | hints.ai_family = AF_INET; |
| @@ -1159,7 +1159,7 @@ socket_connection (char *host, int flags) | |||
| 1159 | krb5_free_context (kcontext); | 1159 | krb5_free_context (kcontext); |
| 1160 | strcpy (pop_error, KRB_ERROR); | 1160 | strcpy (pop_error, KRB_ERROR); |
| 1161 | strncat (pop_error, error_message (rem), | 1161 | strncat (pop_error, error_message (rem), |
| 1162 | ERROR_MAX - sizeof(KRB_ERROR)); | 1162 | ERROR_MAX - sizeof (KRB_ERROR)); |
| 1163 | CLOSESOCKET (sock); | 1163 | CLOSESOCKET (sock); |
| 1164 | return (-1); | 1164 | return (-1); |
| 1165 | } | 1165 | } |
| @@ -1212,7 +1212,7 @@ socket_connection (char *host, int flags) | |||
| 1212 | ERROR_MAX - strlen (pop_error) - 1); | 1212 | ERROR_MAX - strlen (pop_error) - 1); |
| 1213 | } | 1213 | } |
| 1214 | #elif defined HAVE_KRB5_ERROR_E_TEXT | 1214 | #elif defined HAVE_KRB5_ERROR_E_TEXT |
| 1215 | if (err_ret && err_ret->e_text && strlen(*err_ret->e_text)) | 1215 | if (err_ret && err_ret->e_text && strlen (*err_ret->e_text)) |
| 1216 | { | 1216 | { |
| 1217 | strncat (pop_error, " [server says '", | 1217 | strncat (pop_error, " [server says '", |
| 1218 | ERROR_MAX - strlen (pop_error) - 1); | 1218 | ERROR_MAX - strlen (pop_error) - 1); |