]> git.sur5r.net Git - bacula/bacula/commitdiff
Fix msvc build problems.
authorRobert Nelson <robertn@the-nelsons.org>
Tue, 23 Jan 2007 22:48:07 +0000 (22:48 +0000)
committerRobert Nelson <robertn@the-nelsons.org>
Tue, 23 Jan 2007 22:48:07 +0000 (22:48 +0000)
Fix path quoting in SQLite scripts.

Fix problems with SHGetFolderPath.

Fix bacula.dll exports for msvc build.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4032 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/src/lib/parse_conf.h
bacula/src/lib/tls.c

index b8adffe25f44e75bc38991d9fb8e520e77f205d9..75a8dd8d8cba95208f28f48ea8cb99e76087ed86 100644 (file)
@@ -30,7 +30,7 @@
 */
 
 struct RES_ITEM;                    /* Declare forward referenced structure */
-struct RES;                         /* Declare forware referenced structure */
+class RES;                         /* Declare forware referenced structure */
 typedef void (MSG_RES_HANDLER)(LEX *lc, RES_ITEM *item, int index, int pass);
 
 /* This is the structure that defines
index c0e64f4bec276aaa3afe50ed607d842b82bcd506..8a17312ce84d4efb0a21baa988581e9355c10507 100644 (file)
@@ -241,7 +241,7 @@ bool tls_postconnect_verify_cn(TLS_CONNECTION *tls, alist *verify_list)
    SSL *ssl = tls->openssl;
    X509 *cert;
    X509_NAME *subject;
-   int auth_success = false;
+   bool auth_success = false;
    char data[256];
 
    /* Check if peer provided a certificate */
@@ -280,7 +280,7 @@ bool tls_postconnect_verify_host(TLS_CONNECTION *tls, const char *host)
    SSL *ssl = tls->openssl;
    X509 *cert;
    X509_NAME *subject;
-   int auth_success = false;
+   bool auth_success = false;
    int extensions;
    char data[256];
    int i, j;