]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/lib/util.c
More changes to ensure that during thread switches the jcr
[bacula/bacula] / bacula / src / lib / util.c
index a9ceedbc424987fdbff6c169bdb78fbad1af89b7..1d93d1b542be1beae8ddafe56de75bff6cfd6fbf 100644 (file)
@@ -134,10 +134,11 @@ unbash_spaces(POOL_MEM &pm)
    }
 }
 
-char *encode_time(time_t time, char *buf)
+char *encode_time(utime_t utime, char *buf)
 {
    struct tm tm;
    int n = 0;
+   time_t time = utime;
 
 #if defined(HAVE_WIN32)
    /*
@@ -413,6 +414,9 @@ const char *job_level_to_str(int level)
    case L_VERIFY_DATA:
       str = _("Verify Data");
       break;
+   case L_VIRTUAL_FULL:
+      str = _("Virtual Full");
+      break;
    case L_NONE:
       str = " ";
       break;
@@ -433,6 +437,7 @@ const char *volume_status_to_str(const char *status)
       NT_("Full"),      _("Full"),
       NT_("Used"),      _("Used"),
       NT_("Cleaning"),  _("Cleaning"),
+      NT_("Purged"),    _("Purged"),
       NT_("Recycle"),   _("Recycle"),
       NT_("Read-Only"), _("Read-Only"),
       NT_("Error"),     _("Error"),