From: James Harper Date: Sun, 14 Mar 2010 10:23:34 +0000 (+0100) Subject: System State plugin first cut X-Git-Tag: Release-5.2.1~1595 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=8cf81dc9c65f2fd857a43082803a0282a04c3461;p=bacula%2Fbacula System State plugin first cut --- 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