 +   }
 +
 +   int nb = db_update_stats(ua->jcr, ua->db, since);
-+   if (nb > 1) {
-+      ua->info_msg(_("Updating %i jobs.\n"), nb);
-+   }
++   ua->info_msg(_("Updating %i job(s).\n"), nb);
++
 +   return true;
 +}
 +

+         "WHERE JobStatus IN ('T', 'f', 'A', 'E') "
+           "AND JobId NOT IN (SELECT JobId FROM JobStat) "
+           "AND JobTDate < %s ", ed1);
+   INSERT_DB(jcr, mdb, mdb->cmd); /* TODO: get a message ? */
+   return mdb->num_rows;
+}
+
+/*

Index: src/dird/ua_update.c
===================================================================
--- src/dird/ua_update.c	(rvision 7144)
+++ src/dird/ua_update.c	(copie de travail)
@@ -42,6 +42,7 @@
 static int update_volume(UAContext *ua);
