From: Robert Nelson Date: Tue, 23 Jan 2007 22:48:07 +0000 (+0000) Subject: Fix msvc build problems. X-Git-Tag: Release-7.0.0~7020 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=805130a8f6052065fc1b769cdc6418c63af8fa07;p=bacula%2Fbacula Fix msvc build problems. 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 --- diff --git a/bacula/src/lib/parse_conf.h b/bacula/src/lib/parse_conf.h index b8adffe25f..75a8dd8d8c 100644 --- a/bacula/src/lib/parse_conf.h +++ b/bacula/src/lib/parse_conf.h @@ -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 diff --git a/bacula/src/lib/tls.c b/bacula/src/lib/tls.c index c0e64f4bec..8a17312ce8 100644 --- a/bacula/src/lib/tls.c +++ b/bacula/src/lib/tls.c @@ -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;