Code

Fixed my mistake with #ifndef/#else/#endif HAVE_SSL
authorishmal <ishmal@users.sourceforge.net>
Wed, 30 Aug 2006 07:57:26 +0000 (07:57 +0000)
committerishmal <ishmal@users.sourceforge.net>
Wed, 30 Aug 2006 07:57:26 +0000 (07:57 +0000)
src/pedro/pedroutil.cpp

index 6d988c719a7844a109e1e6033d3c21ad8d0f6af8..6de3bbfd414a2fc4421de9bb3cdba87d34dae4bc 100644 (file)
@@ -1085,7 +1085,7 @@ bool TcpSocket::startTls()
     fprintf(stderr,
            "SSL starttls() error:  client not compiled with SSL enabled\n");
     return false;
-#endif /*HAVE_SSL*/
+#else /*HAVE_SSL*/
 
     sslStream  = NULL;
     sslContext = NULL;
@@ -1149,6 +1149,7 @@ bool TcpSocket::startTls()
 
     sslEnabled = true;
     return true;
+#endif /* HAVE_SSL */
 }