summaryrefslogtreecommitdiff
path: root/torrus
diff options
context:
space:
mode:
authorivan <ivan>2011-06-11 00:20:14 +0000
committerivan <ivan>2011-06-11 00:20:14 +0000
commitda0c8ddeee43e29a6d4c64a7bc9237de6c83406b (patch)
treee6c581444d45a414c7f6d0c2d24177850f6040f0 /torrus
parent75ea5c815e799140edb346591a417df4091f09bc (diff)
fix --end handling in srvderive, RT#10574
Diffstat (limited to 'torrus')
-rw-r--r--torrus/bin/srvderive.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/torrus/bin/srvderive.in b/torrus/bin/srvderive.in
index 1774917..6623f1d 100644
--- a/torrus/bin/srvderive.in
+++ b/torrus/bin/srvderive.in
@@ -15,7 +15,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
-# $Id: srvderive.in,v 1.1 2010-12-27 00:04:02 ivan Exp $
+# $Id: srvderive.in,v 1.2 2011-06-11 00:20:14 ivan Exp $
# Stanislav Sinyagin <ssinyagin@yahoo.com>
# Combine SUM or MAX from several service IDs and create a new one
@@ -128,7 +128,7 @@ my $endtime;
if( defined($enddate) )
{
- $endtime = str2time( $startdate );
+ $endtime = str2time( $enddate );
if( not defined($endtime) )
{
Error('Cannot parse end date: ' . $enddate);