From c422968aa071afcc9acfdb91b4bc0a1695d487db Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Sat, 29 Oct 2011 12:42:25 +0200 Subject: [PATCH] Tweak correct silly typo --- bacula/src/win32/filed/plugins/dbi_node.c | 4 ++-- bacula/src/win32/filed/plugins/file_node.c | 6 +++--- bacula/src/win32/filed/plugins/root_node.c | 4 ++-- bacula/src/win32/filed/plugins/service_node.c | 4 ++-- .../src/win32/filed/plugins/storage_group_node.c | 14 +++++++------- bacula/src/win32/filed/plugins/store_node.c | 10 +++++----- 6 files changed, 21 insertions(+), 21 deletions(-) diff --git a/bacula/src/win32/filed/plugins/dbi_node.c b/bacula/src/win32/filed/plugins/dbi_node.c index a7d2274070..c02477fb57 100644 --- a/bacula/src/win32/filed/plugins/dbi_node.c +++ b/bacula/src/win32/filed/plugins/dbi_node.c @@ -86,7 +86,7 @@ dbi_node_t::endBackupFile(exchange_fd_context_t *context) bRC dbi_node_t::createFile(exchange_fd_context_t *context, struct restore_pkt *rp) { - _ DebugMessage(100, "createFile_DBI state = %d\n", state); + _DebugMessage(100, "createFile_DBI state = %d\n", state); rp->create_status = CF_EXTRACT; @@ -96,7 +96,7 @@ dbi_node_t::createFile(exchange_fd_context_t *context, struct restore_pkt *rp) bRC dbi_node_t::endRestoreFile(exchange_fd_context_t *context) { - _ DebugMessage(100, "endRestoreFile_DBI state = %d\n", state); + _DebugMessage(100, "endRestoreFile_DBI state = %d\n", state); context->current_node = parent; diff --git a/bacula/src/win32/filed/plugins/file_node.c b/bacula/src/win32/filed/plugins/file_node.c index e09918d93c..18ff399a75 100644 --- a/bacula/src/win32/filed/plugins/file_node.c +++ b/bacula/src/win32/filed/plugins/file_node.c @@ -97,7 +97,7 @@ file_node_t::createFile(exchange_fd_context_t *context, struct restore_pkt *rp) { //HrESERestoreOpenFile with name of log file - _ DebugMessage(100, "createFile_FILE state = %d\n", state); + _DebugMessage(100, "createFile_FILE state = %d\n", state); rp->create_status = CF_EXTRACT; return bRC_OK; } @@ -105,7 +105,7 @@ file_node_t::createFile(exchange_fd_context_t *context, struct restore_pkt *rp) bRC file_node_t::endRestoreFile(exchange_fd_context_t *context) { - _ DebugMessage(100, "endRestoreFile_FILE state = %d\n", state); + _DebugMessage(100, "endRestoreFile_FILE state = %d\n", state); context->current_node = parent; return bRC_OK; } @@ -118,7 +118,7 @@ file_node_t::pluginIoOpen(exchange_fd_context_t *context, struct io_pkt *io) char *tmp = new char[wcslen(filename) + 1]; wcstombs(tmp, filename, wcslen(filename) + 1); - _ DebugMessage(100, "pluginIoOpen_FILE - filename = %s\n", tmp); + _DebugMessage(100, "pluginIoOpen_FILE - filename = %s\n", tmp); io->status = 0; io->io_errno = 0; if (context->job_type == JOB_TYPE_BACKUP) diff --git a/bacula/src/win32/filed/plugins/root_node.c b/bacula/src/win32/filed/plugins/root_node.c index 4179c51c1d..dfddb7469f 100644 --- a/bacula/src/win32/filed/plugins/root_node.c +++ b/bacula/src/win32/filed/plugins/root_node.c @@ -112,7 +112,7 @@ root_node_t::endBackupFile(exchange_fd_context_t *context) bRC root_node_t::createFile(exchange_fd_context_t *context, struct restore_pkt *rp) { - _ DebugMessage(100, "createFile_ROOT state = %d\n", state); + _DebugMessage(100, "createFile_ROOT state = %d\n", state); switch (state) { case 0: if (strcmp(name, PLUGIN_PATH_PREFIX_BASE) != 0) { @@ -144,7 +144,7 @@ root_node_t::createFile(exchange_fd_context_t *context, struct restore_pkt *rp) bRC root_node_t::endRestoreFile(exchange_fd_context_t *context) { - _ DebugMessage(100, "endRestoreFile_ROOT state = %d\n", state); + _DebugMessage(100, "endRestoreFile_ROOT state = %d\n", state); switch (state) { case 0: delete service_node; diff --git a/bacula/src/win32/filed/plugins/service_node.c b/bacula/src/win32/filed/plugins/service_node.c index 2846106884..095320036b 100644 --- a/bacula/src/win32/filed/plugins/service_node.c +++ b/bacula/src/win32/filed/plugins/service_node.c @@ -171,7 +171,7 @@ service_node_t::createFile(exchange_fd_context_t *context, struct restore_pkt *r { storage_group_node_t *curr_sg, *prev_sg; - _ DebugMessage(100, "createFile_SERVICE state = %d\n", state); + _DebugMessage(100, "createFile_SERVICE state = %d\n", state); if (strcmp(name, "Microsoft Information Store") != 0) { _JobMessage(M_FATAL, "Invalid restore path specified, must start with '/" PLUGIN_PATH_PREFIX_BASE "/" PLUGIN_PATH_PREFIX_SERVICE "/'\n", state); @@ -215,7 +215,7 @@ service_node_t::createFile(exchange_fd_context_t *context, struct restore_pkt *r bRC service_node_t::endRestoreFile(exchange_fd_context_t *context) { - _ DebugMessage(100, "endRestoreFile_SERVICE state = %d\n", state); + _DebugMessage(100, "endRestoreFile_SERVICE state = %d\n", state); switch(state) { case 0: diff --git a/bacula/src/win32/filed/plugins/storage_group_node.c b/bacula/src/win32/filed/plugins/storage_group_node.c index b0ce794c72..4e6bf2ed1e 100644 --- a/bacula/src/win32/filed/plugins/storage_group_node.c +++ b/bacula/src/win32/filed/plugins/storage_group_node.c @@ -309,11 +309,11 @@ storage_group_node_t::createFile(exchange_fd_context_t *context, struct restore_ HRESULT result; int len; - _ DebugMessage(100, "createFile_STORAGE_GROUP state = %d\n", state); + _DebugMessage(100, "createFile_STORAGE_GROUP state = %d\n", state); if (strcmp(context->path_bits[level], name) != 0) { - _ DebugMessage(100, "Different storage group - switching back to parent\n", state); + _DebugMessage(100, "Different storage group - switching back to parent\n", state); saved_log_path = new WCHAR[wcslen(restore_environment->m_wszRestoreLogPath) + 1]; wcscpy(saved_log_path, restore_environment->m_wszRestoreLogPath); _DebugMessage(100, "Calling HrESERestoreSaveEnvironment\n"); @@ -339,7 +339,7 @@ storage_group_node_t::createFile(exchange_fd_context_t *context, struct restore_ } if (saved_log_path != NULL) { - _ DebugMessage(100, "Calling HrESERestoreReopen\n"); + _DebugMessage(100, "Calling HrESERestoreReopen\n"); result = HrESERestoreReopen(context->computer_name, service_name, saved_log_path, &hccx); if (result != 0) { @@ -349,7 +349,7 @@ storage_group_node_t::createFile(exchange_fd_context_t *context, struct restore_ rp->create_status = CF_CREATED; return bRC_OK; } - _ DebugMessage(100, "Calling HrESERestoreGetEnvironment\n"); + _DebugMessage(100, "Calling HrESERestoreGetEnvironment\n"); result = HrESERestoreGetEnvironment(hccx, &restore_environment); if (result != 0) { @@ -377,7 +377,7 @@ storage_group_node_t::createFile(exchange_fd_context_t *context, struct restore_ storage_group_name = new WCHAR[strlen(name) + 1]; mbstowcs(service_name, parent->name, strlen(parent->name) + 1); mbstowcs(storage_group_name, name, strlen(name) + 1); - _ DebugMessage(100, "Calling HrESERestoreOpen\n"); + _DebugMessage(100, "Calling HrESERestoreOpen\n"); result = HrESERestoreOpen(context->computer_name, service_name, storage_group_name, NULL, &hccx); if (result != 0) { @@ -385,7 +385,7 @@ storage_group_node_t::createFile(exchange_fd_context_t *context, struct restore_ state = 999; break; } - _ DebugMessage(100, "Calling HrESERestoreGetEnvironment\n"); + _DebugMessage(100, "Calling HrESERestoreGetEnvironment\n"); result = HrESERestoreGetEnvironment(hccx, &restore_environment); if (result != 0) { @@ -490,7 +490,7 @@ storage_group_node_t::createFile(exchange_fd_context_t *context, struct restore_ bRC storage_group_node_t::endRestoreFile(exchange_fd_context_t *context) { - _ DebugMessage(100, "endRestoreFile_STORAGE_GROUP state = %d\n", state); + _DebugMessage(100, "endRestoreFile_STORAGE_GROUP state = %d\n", state); switch (state) { case 0: diff --git a/bacula/src/win32/filed/plugins/store_node.c b/bacula/src/win32/filed/plugins/store_node.c index 0d953a43ea..eea94317d9 100644 --- a/bacula/src/win32/filed/plugins/store_node.c +++ b/bacula/src/win32/filed/plugins/store_node.c @@ -131,11 +131,11 @@ store_node_t::endBackupFile(exchange_fd_context_t *context) bRC store_node_t::createFile(exchange_fd_context_t *context, struct restore_pkt *rp) { - _ DebugMessage(100, "createFile_STORE state = %d\n", state); + _DebugMessage(100, "createFile_STORE state = %d\n", state); if (strcmp(context->path_bits[level - 1], parent->name) != 0) { - _ DebugMessage(100, "Different storage group - switching back to parent\n", state); + _DebugMessage(100, "Different storage group - switching back to parent\n", state); context->current_node = parent; return bRC_OK; } @@ -190,7 +190,7 @@ store_node_t::createFile(exchange_fd_context_t *context, struct restore_pkt *rp) case 999: if (strcmp(context->path_bits[level], name) != 0) { - _ DebugMessage(100, "End of Store when in error state - switching back to parent\n", state); + _DebugMessage(100, "End of Store when in error state - switching back to parent\n", state); context->current_node = parent; return bRC_OK; } @@ -205,14 +205,14 @@ store_node_t::endRestoreFile(exchange_fd_context_t *context) { HRESULT result; - _ DebugMessage(100, "endRestoreFile_STORE state = %d\n", state); + _DebugMessage(100, "endRestoreFile_STORE state = %d\n", state); for (;;) { switch (state) { case 0: state = 1; - _ DebugMessage(100, "Calling HrESERestoreAddDatabase\n"); + _DebugMessage(100, "Calling HrESERestoreAddDatabase\n"); result = HrESERestoreAddDatabase(hccx, dbi_node->restore_display_name, dbi_node->restore_guid, dbi_node->restore_input_streams, &dbi_node->restore_output_streams); if (result != 0) { -- 2.39.5