#ifdef WIN32_VSS
static bool vss_restore_init_callback(JCR *jcr, int init_type)
{
- switch (init_type)
- {
+ switch (init_type) {
case VSS_INIT_RESTORE_AFTER_INIT:
generate_plugin_event(jcr, bEventVssRestoreLoadComponentMetadata);
return true;
bool VSSClient::InitializeForRestore(JCR *jcr, bool (*VssInitCallback)(JCR *, int))
{
m_jcr = jcr;
- return Initialize(0, TRUE, VssInitCallback);
+ return Initialize(0, true/*=>Restore*/, VssInitCallback);
}
bool VSSClient::GetShadowPath(const char *szFilePath, char *szShadowPath, int nBuflen)