From aa7df7b7379cc437515774d0ea91fb106aba5dc8 Mon Sep 17 00:00:00 2001 From: Björn Jacke Date: Wed, 15 Sep 2010 18:23:50 +0200 Subject: s3/printing: make clock jump save and use monotonic time for cache timeout --- source3/printing/pcap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/printing/pcap.c') diff --git a/source3/printing/pcap.c b/source3/printing/pcap.c index 3bc8e9e4e2..1b8f46d8e7 100644 --- a/source3/printing/pcap.c +++ b/source3/printing/pcap.c @@ -82,7 +82,7 @@ void pcap_cache_destroy_specific(struct pcap_cache **pp_cache) bool pcap_cache_add(const char *name, const char *comment) { NTSTATUS status; - time_t t = time(NULL); + time_t t = time_mono(NULL); status = printer_list_set_printer(talloc_tos(), name, comment, t); return NT_STATUS_IS_OK(status); -- cgit