summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/time.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/lib/time.c b/source3/lib/time.c
index 4eb508115d..bab80ad621 100644
--- a/source3/lib/time.c
+++ b/source3/lib/time.c
@@ -74,6 +74,7 @@ static int tm_diff(struct tm *a, struct tm *b)
int hours = 24*days + (a->tm_hour - b->tm_hour);
int minutes = 60*hours + (a->tm_min - b->tm_min);
int seconds = 60*minutes + (a->tm_sec - b->tm_sec);
+
return seconds;
}
@@ -279,7 +280,7 @@ void put_long_date(char *p,time_t t)
}
/* this converts GMT to kludge-GMT */
- t -= TimeDiff(t) - serverzone;
+ t -= LocTimeDiff(t) - serverzone;
d = (double) (t);