Fixed #if ENABLE_SSL for ssl_check_error
authorAdam Dickmeiss <adam@indexdata.dk>
Wed, 11 Jun 2008 18:16:47 +0000 (20:16 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Wed, 11 Jun 2008 18:16:47 +0000 (20:16 +0200)
src/tcpip.c

index 6cb4bbe..8781cca 100644 (file)
@@ -264,7 +264,7 @@ COMSTACK ssl_type(int s, int flags, int protocol, void *vp)
 #endif
 }
 
 #endif
 }
 
-#if !ENABLE_SSL
+#if ENABLE_SSL
 static int ssl_check_error(COMSTACK h, tcpip_state *sp, int res)
 {
 #if HAVE_OPENSSL_SSL_H
 static int ssl_check_error(COMSTACK h, tcpip_state *sp, int res)
 {
 #if HAVE_OPENSSL_SSL_H