]> 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

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