summaryrefslogtreecommitdiff
path: root/source4/nmbd/nmbd_namelistdb.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/nmbd/nmbd_namelistdb.c')
-rw-r--r--source4/nmbd/nmbd_namelistdb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/nmbd/nmbd_namelistdb.c b/source4/nmbd/nmbd_namelistdb.c
index 932d926a91..6653cdd24b 100644
--- a/source4/nmbd/nmbd_namelistdb.c
+++ b/source4/nmbd/nmbd_namelistdb.c
@@ -566,7 +566,7 @@ static void dump_subnet_namelist( struct subnet_record *subrec, XFILE *fp)
if(namerec->data.death_time != PERMANENT_TTL)
{
- tm = LocalTime(&namerec->data.death_time);
+ tm = localtime(&namerec->data.death_time);
x_fprintf(fp, "death_time = %s\t", asctime(tm));
}
else
@@ -574,7 +574,7 @@ static void dump_subnet_namelist( struct subnet_record *subrec, XFILE *fp)
if(namerec->data.refresh_time != PERMANENT_TTL)
{
- tm = LocalTime(&namerec->data.refresh_time);
+ tm = localtime(&namerec->data.refresh_time);
x_fprintf(fp, "refresh_time = %s\n", asctime(tm));
}
else