diff options
author | Matthias Andree <matthias.andree@gmx.de> | 2004-06-18 20:16:42 +0000 |
---|---|---|
committer | Matthias Andree <matthias.andree@gmx.de> | 2004-06-18 20:16:42 +0000 |
commit | c325bc190633349e806d0f2c313ace2338950f88 (patch) | |
tree | 69ef866dee66bd1548e19f58faa513c460242bf7 /socket.c | |
parent | 5ffe6f98f8ba802ccd973724702a2d44757c4291 (diff) | |
download | fetchmail-c325bc190633349e806d0f2c313ace2338950f88.tar.gz fetchmail-c325bc190633349e806d0f2c313ace2338950f88.tar.bz2 fetchmail-c325bc190633349e806d0f2c313ace2338950f88.zip |
Compiler warnings fixes, preprocessor and minor general cleanup.
svn path=/trunk/; revision=3901
Diffstat (limited to 'socket.c')
-rw-r--r-- | socket.c | 9 |
1 files changed, 3 insertions, 6 deletions
@@ -73,9 +73,7 @@ static int h_errno; #endif /* ndef h_errno */ -extern int mailserver_socket_temp; /* Socket to close if connect timeout */ - -#if NET_SECURITY +#ifdef NET_SECURITY #include <net/security.h> #endif /* NET_SECURITY */ @@ -171,7 +169,6 @@ static int handle_plugin(const char *host, /* error */ report(stderr, GT_("fetchmail: fork failed\n")); return -1; - break; case 0: /* child */ /* fds[1] is the parent's end; close it for proper EOF ** detection */ @@ -258,13 +255,13 @@ int UnixOpen(const char *path) return sock; } -#if INET6_ENABLE +#ifdef INET6_ENABLE int SockOpen(const char *host, const char *service, const char *options, const char *plugin) { struct addrinfo *ai, *ai0, req; int i; -#if NET_SECURITY +#ifdef NET_SECURITY void *request = NULL; int requestlen; #endif /* NET_SECURITY */ |