]> git.proxmox.com Git - proxmox-backup.git/commitdiff
depend on proxmox 0.3.5
authorDietmar Maurer <dietmar@proxmox.com>
Fri, 4 Sep 2020 06:11:53 +0000 (08:11 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Fri, 4 Sep 2020 06:11:53 +0000 (08:11 +0200)
Cargo.toml
debian/control
src/tools/systemd/tm_editor.rs

index 435771bdab65998f21e5b92f36ae3e656929a1ca..6eba3f3b76f45152fc37befd7bdc22976b555e77 100644 (file)
@@ -39,7 +39,7 @@ pam-sys = "0.5"
 percent-encoding = "2.1"
 pin-utils = "0.1.0"
 pathpatterns = "0.1.2"
-proxmox = { version = "0.3.4", features = [ "sortable-macro", "api-macro", "websocket" ] }
+proxmox = { version = "0.3.5", features = [ "sortable-macro", "api-macro", "websocket" ] }
 #proxmox = { git = "ssh://gitolite3@proxdev.maurer-it.com/rust/proxmox", version = "0.1.2", features = [ "sortable-macro", "api-macro" ] }
 #proxmox = { path = "../proxmox/proxmox", features = [ "sortable-macro", "api-macro", "websocket" ] }
 proxmox-fuse = "0.1.0"
index 6358f6e90ec8a8ce97530c22254c6bc394eef0f6..e523d4d2e8c897e046ccba3ffe5aaf1fa3b15ef7 100644 (file)
@@ -34,10 +34,10 @@ Build-Depends: debhelper (>= 11),
  librust-pathpatterns-0.1+default-dev (>= 0.1.2-~~),
  librust-percent-encoding-2+default-dev (>= 2.1-~~),
  librust-pin-utils-0.1+default-dev,
- librust-proxmox-0.3+api-macro-dev (>= 0.3.4-~~),
- librust-proxmox-0.3+default-dev (>= 0.3.4-~~),
- librust-proxmox-0.3+sortable-macro-dev (>= 0.3.4-~~),
- librust-proxmox-0.3+websocket-dev (>= 0.3.4-~~),
+ librust-proxmox-0.3+api-macro-dev (>= 0.3.5-~~),
+ librust-proxmox-0.3+default-dev (>= 0.3.5-~~),
+ librust-proxmox-0.3+sortable-macro-dev (>= 0.3.5-~~),
+ librust-proxmox-0.3+websocket-dev (>= 0.3.5-~~),
  librust-proxmox-fuse-0.1+default-dev,
  librust-pxar-0.6+default-dev,
  librust-pxar-0.6+futures-io-dev,
index 3b81d1cb8d2c6bc87bf8639761351adfb80e43ea..ef8bcd2c5b66f88ce88b3d69e32c69ebfbe3a9b2 100644 (file)
@@ -50,7 +50,7 @@ impl TmEditor {
 
     pub fn into_epoch(mut self) -> Result<i64, Error> {
         self.t.tm_year -= 1900;
-        let epoch = if self.utc { timegm(self.t)? } else { timelocal(self.t)? };
+        let epoch = if self.utc { timegm(&mut self.t)? } else { timelocal(&mut self.t)? };
         Ok(epoch)
     }