]> git.sur5r.net Git - bacula/bacula/commitdiff
Tweak correct silly typo
authorKern Sibbald <kern@sibbald.com>
Sat, 29 Oct 2011 10:42:25 +0000 (12:42 +0200)
committerKern Sibbald <kern@sibbald.com>
Sat, 29 Oct 2011 10:42:25 +0000 (12:42 +0200)
bacula/src/win32/filed/plugins/dbi_node.c
bacula/src/win32/filed/plugins/file_node.c
bacula/src/win32/filed/plugins/root_node.c
bacula/src/win32/filed/plugins/service_node.c
bacula/src/win32/filed/plugins/storage_group_node.c
bacula/src/win32/filed/plugins/store_node.c

index a7d2274070a81e7d47881cbd032797d21aecb163..c02477fb57a22553a9ed783f7a74ec4854a0aa4b 100644 (file)
@@ -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;
 
index e09918d93c42e986301a39fd7c2b20aceb5b4bf3..18ff399a759058487174993adc606eee20bab34e 100644 (file)
@@ -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)
index 4179c51c1d5897183a1c2521731d75bb7d531dec..dfddb7469f730a514efb85d73883b7286eb97ff1 100644 (file)
@@ -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;
index 28461068846f348602e47b6fa14c20e78407c6a1..095320036bd7a79d91dfab5d7c6e69b673cdfe2a 100644 (file)
@@ -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:
index b0ce794c72be470ec2fa8b6371f40363dd5a6653..4e6bf2ed1e77b262a7d7386c761a0616e52e76f1 100644 (file)
@@ -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:
index 0d953a43ea3aa1038c5df2f57671ab95d2feb40d..eea94317d95e36c9f122f663feb101507b4a4cb4 100644 (file)
@@ -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)
          {