]> git.sur5r.net Git - bacula/bacula/commitdiff
small beautifying
authorThorsten Engel <thorsten.engel@matrix-computer.com>
Tue, 7 Jun 2005 18:51:19 +0000 (18:51 +0000)
committerThorsten Engel <thorsten.engel@matrix-computer.com>
Tue, 7 Jun 2005 18:51:19 +0000 (18:51 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@2112 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/src/filed/job.c

index 72f0a1bc28e49abdbbd6e5e6c633ae0c17be7242..08174a13bdfce94d0a33dddb0c75f3628217349f 100644 (file)
@@ -1210,7 +1210,7 @@ static int backup_cmd(JCR *jcr)
                   Jmsg(jcr, M_WARNING, 0, _("Generate VSS snapshots failed\n"));
            }
            else {
-              for (int i=0; i<strlen (szWinDriveLetters); i++) {
+              for (size_t i=0; i<strlen (szWinDriveLetters); i++) {
                  if (islower(szWinDriveLetters[i]))
                      Jmsg(jcr, M_WARNING, 0, _("Generate VSS snapshot of drive %c: failed\n"), szWinDriveLetters[i]);
               }
@@ -1277,6 +1277,7 @@ static int backup_cmd(JCR *jcr)
 
 cleanup:
 #ifdef WIN32_VSS
+   /* STOP VSS ON WIN 32 */
    /* tell vss to close the backup session */
    if (g_pVSSClient)
       g_pVSSClient->CloseBackup();
@@ -1286,8 +1287,7 @@ cleanup:
       edit_uint64(jcr->ReadBytes, ed1),
       edit_uint64(jcr->JobBytes, ed2), jcr->Errors);
    Dmsg1(110, "End FD msg: %s\n", dir->msg);
-
-   /* STOP VSS ON WIN 32 */
+   
    return 0;                         /* return and stop command loop */
 }