]> git.sur5r.net Git - bacula/bacula/commitdiff
System State plugin first cut
authorJames Harper <james.harper@bendigoit.com.au>
Sun, 14 Mar 2010 10:23:34 +0000 (11:23 +0100)
committerEric Bollengier <eric@eb.homelinux.org>
Mon, 2 Aug 2010 14:49:40 +0000 (16:49 +0200)
bacula/src/filed/fd_plugins.c
bacula/src/win32/filed/plugins/Makefile

index 16a3b418a7042985ea6cc0141f4dafeae11d1532..5407a146cc6f231eda590c996451f43bede3a030 100644 (file)
@@ -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
index e77e714abe738a7618ea172d3c40f1fdc3a6f002..9a6000c6f63d9435786414c6fffb80382e8b7a83 100644 (file)
@@ -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