aboutsummaryrefslogtreecommitdiffstats
path: root/socket.h
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2004-06-18 20:16:42 +0000
committerMatthias Andree <matthias.andree@gmx.de>2004-06-18 20:16:42 +0000
commitc325bc190633349e806d0f2c313ace2338950f88 (patch)
tree69ef866dee66bd1548e19f58faa513c460242bf7 /socket.h
parent5ffe6f98f8ba802ccd973724702a2d44757c4291 (diff)
downloadfetchmail-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.h')
-rw-r--r--socket.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/socket.h b/socket.h
index a89685bc..a0a45bc1 100644
--- a/socket.h
+++ b/socket.h
@@ -8,7 +8,7 @@
#define SOCKET__
/* Create a new client socket; returns (FILE *)NULL on error */
-#if INET6_ENABLE
+#ifdef INET6_ENABLE
int SockOpen(const char *host, const char *service, const char *options,
const char *plugin);
#else /* INET6_ENABLE */
@@ -63,7 +63,7 @@ FIXME: document this
*/
int UnixOpen(const char *path);
-#if SSL_ENABLE
+#ifdef SSL_ENABLE
int SSLOpen(int sock, char *mycert, char *mykey, char *myproto, int certck, char *certpath,
char *fingerprint, char *servercname, char *label);
#endif /* SSL_ENABLE */