[debian-edu-commits] debian-edu/upstream/slbackup-php.git (#163) - master (branch) updated: 0.4.4-4-g4507e7c

Mike Gabriel sunweaver at alioth.debian.org
Tue Sep 24 20:40:18 UTC 2013


The branch, master has been updated
       via  4507e7c30364a02094b033fd2faf8cc908a47a21 (commit)
      from  c828b3bbf2f3bf5d28c37e4dc2cd6bd00d31c300 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 4507e7c30364a02094b033fd2faf8cc908a47a21
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Tue Sep 24 22:36:49 2013 +0200

    Handle scheduler time values as strings. Thanks to Cyril ETCHEVERRIA.

-----------------------------------------------------------------------

Summary of changes:
 debian/changelog |    1 +
 src/index.php    |    4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

The diff of changes is:
diff --git a/debian/changelog b/debian/changelog
index 2cb5f24..2b1cec3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,7 @@ slbackup-php (0.4.5-0) UNRELEASED; urgency=low
   * Upstream version (0.4.5):
     - Fix parsing of log file for the case that the server_destdir does not
       exist.
+    - Handle scheduler time values as strings. Thanks to Cyril ETCHEVERRIA.
 
  -- Mike Gabriel <mike.gabriel at das-netzwerkteam.de>  Mon, 10 Jun 2013 09:33:30 +0200
 
diff --git a/src/index.php b/src/index.php
index af36d65..e57bd6d 100644
--- a/src/index.php
+++ b/src/index.php
@@ -711,8 +711,8 @@ foreach ($scheduler as $line) {
         continue ; 
     $config["active"] = true ; 
     $array = explode (" ", $line) ; 
-    sscanf ($array[0], "%d", $config["minutes"]) ; 
-    sscanf ($array[1], "%d", $config["hours"]) ; 
+    sscanf ($array[0], "%s", $config["minutes"]) ;
+    sscanf ($array[1], "%s", $config["hours"]) ;
 }
 unset ($revisions) ; 
 


hooks/post-receive
-- 
slbackup-php.git (slbackup-php upstream project)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "slbackup-php.git" (slbackup-php upstream project).




More information about the debian-edu-commits mailing list