]> git.sur5r.net Git - bacula/bacula/commitdiff
ebl move Errors count up to be more easy to parse with Bweb
authorEric Bollengier <eric@eb.homelinux.org>
Fri, 13 Jul 2007 12:34:19 +0000 (12:34 +0000)
committerEric Bollengier <eric@eb.homelinux.org>
Fri, 13 Jul 2007 12:34:19 +0000 (12:34 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@5168 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/src/filed/status.c

index 866cc18dd6709ffaba13dd26deb05802c75d709c..c3c2da632d4e2c3854f06c67b55a17871f1c89ed 100644 (file)
@@ -169,15 +169,15 @@ void output_status(void sendit(const char *msg, int len, void *sarg), void *arg)
          sec = 1;
       }
       bps = (int)(njcr->JobBytes / sec);
-      len = Mmsg(msg,  _("    Files=%s Bytes=%s Bytes/sec=%s\n"),
+      len = Mmsg(msg,  _("    Files=%s Bytes=%s Bytes/sec=%s Errors=%d\n"),
            edit_uint64_with_commas(njcr->JobFiles, b1),
            edit_uint64_with_commas(njcr->JobBytes, b2),
-           edit_uint64_with_commas(bps, b3));
-      sendit(msg.c_str(), len, arg);
-      len = Mmsg(msg, _("    Files Examined=%s Errors=%d\n"),
-           edit_uint64_with_commas(njcr->num_files_examined, b1),
+           edit_uint64_with_commas(bps, b3),
            njcr->JobErrors);
       sendit(msg.c_str(), len, arg);
+      len = Mmsg(msg, _("    Files Examined=%s\n"),
+           edit_uint64_with_commas(njcr->num_files_examined, b1));
+      sendit(msg.c_str(), len, arg);
       if (njcr->JobFiles > 0) {
          njcr->lock();
          len = Mmsg(msg, _("    Processing file: %s\n"), njcr->last_fname);