From 8cf81dc9c65f2fd857a43082803a0282a04c3461 Mon Sep 17 00:00:00 2001 From: James Harper Date: Sun, 14 Mar 2010 11:23:34 +0100 Subject: [PATCH] System State plugin first cut --- bacula/src/filed/fd_plugins.c | 2 +- bacula/src/win32/filed/plugins/Makefile | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/bacula/src/filed/fd_plugins.c b/bacula/src/filed/fd_plugins.c index 16a3b418a7..5407a146cc 100644 --- a/bacula/src/filed/fd_plugins.c +++ b/bacula/src/filed/fd_plugins.c @@ -912,7 +912,7 @@ static bRC baculaGetValue(bpContext *ctx, bVariable var, void *value) case bVarVssObject: #ifdef HAVE_WIN32 if (g_pVSSClient) { - value = g_pVSSClient->GetVssObject(); + *(void **)value = g_pVSSClient->GetVssObject(); break; } #endif diff --git a/bacula/src/win32/filed/plugins/Makefile b/bacula/src/win32/filed/plugins/Makefile index e77e714abe..9a6000c6f6 100644 --- a/bacula/src/win32/filed/plugins/Makefile +++ b/bacula/src/win32/filed/plugins/Makefile @@ -18,6 +18,7 @@ INCLUDES = \ $(INCLUDE_BACULA) \ $(INCLUDE_ZLIB) \ $(INCLUDE_OPENSSL) \ + $(INCLUDE_VSS) \ -I$(MAINDIR)/src \ -I$(MAINDIR)/src/filed \ -I$(MAINDIR)/src/win32/filed -- 2.39.5