summaryrefslogtreecommitdiff
path: root/source4/nmbd/nmbd_winsserver.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/nmbd/nmbd_winsserver.c')
-rw-r--r--source4/nmbd/nmbd_winsserver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/nmbd/nmbd_winsserver.c b/source4/nmbd/nmbd_winsserver.c
index 4ef476f814..6d1f654e84 100644
--- a/source4/nmbd/nmbd_winsserver.c
+++ b/source4/nmbd/nmbd_winsserver.c
@@ -1814,7 +1814,7 @@ void wins_write_database(BOOL background)
if( namerec->data.death_time != PERMANENT_TTL ) {
char *ts, *nl;
- tm = LocalTime(&namerec->data.death_time);
+ tm = localtime(&namerec->data.death_time);
ts = asctime(tm);
nl = strrchr_m( ts, '\n' );
if( NULL != nl )