summaryrefslogtreecommitdiffstats
path: root/source/lib/replace.c
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2005-11-09 02:12:27 +0000
committerGerald Carter <jerry@samba.org>2005-11-09 02:12:27 +0000
commitf713184415a8900c59c4bc0d3bf92e409d0cc22a (patch)
tree12ac39c6cc83ddd9ca25686ee923fbdf3c303bf8 /source/lib/replace.c
parent2236794ba1caabe08f28728ad6cec721bbcac13a (diff)
downloadsamba-f713184415a8900c59c4bc0d3bf92e409d0cc22a.tar.gz
samba-f713184415a8900c59c4bc0d3bf92e409d0cc22a.tar.xz
samba-f713184415a8900c59c4bc0d3bf92e409d0cc22a.zip
r11590: syncing up for 3.0.21rc1
Diffstat (limited to 'source/lib/replace.c')
-rw-r--r--source/lib/replace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/lib/replace.c b/source/lib/replace.c
index b7695bd8dd0..57ee6ea11e6 100644
--- a/source/lib/replace.c
+++ b/source/lib/replace.c
@@ -453,7 +453,7 @@ char *rep_inet_ntoa(struct in_addr ip)
tm2 = *tm;
tm2.tm_isdst = tm3.tm_isdst;
t = mktime(&tm2);
- t -= TimeDiff(t);
+ t -= get_time_zone(t);
return t;
}