summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/cvs/lib/getdate.y
diff options
context:
space:
mode:
authorThorsten Lockert <tholo@cvs.openbsd.org>1996-05-04 07:33:19 +0000
committerThorsten Lockert <tholo@cvs.openbsd.org>1996-05-04 07:33:19 +0000
commitf954c30696031a916f767e57bf4899449707d79d (patch)
treea333ccc7dcc92656b87e0edb1a3713010bb625a4 /gnu/usr.bin/cvs/lib/getdate.y
parent333d936c4b59ae3c1a3cddf87b00531c7befd9d1 (diff)
Set Start from nowtime, not now->time, which may not be set
Diffstat (limited to 'gnu/usr.bin/cvs/lib/getdate.y')
-rw-r--r--gnu/usr.bin/cvs/lib/getdate.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/usr.bin/cvs/lib/getdate.y b/gnu/usr.bin/cvs/lib/getdate.y
index baa17315373..f538ef4237e 100644
--- a/gnu/usr.bin/cvs/lib/getdate.y
+++ b/gnu/usr.bin/cvs/lib/getdate.y
@@ -949,7 +949,7 @@ get_date(p, now)
return -1;
}
else {
- Start = now->time;
+ Start = nowtime;
if (!yyHaveRel)
Start -= ((tm->tm_hour * 60L + tm->tm_min) * 60L) + tm->tm_sec;
}