diff options
Diffstat (limited to 'source4/lib')
-rw-r--r-- | source4/lib/replace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/replace.c b/source4/lib/replace.c index d0de601079..189c5bc04d 100644 --- a/source4/lib/replace.c +++ b/source4/lib/replace.c @@ -447,7 +447,7 @@ char *rep_inet_ntoa(struct in_addr ip) tm2.tm_isdst = tm3.tm_isdst; t = mktime(&tm2); if (zone == -1) { - zone = get_time_zone(); + zone = get_time_zone(t); } t -= zone; |