diff options
author | Björn Jacke <bj@sernet.de> | 2010-09-15 18:23:50 +0200 |
---|---|---|
committer | Björn Jacke <bj@sernet.de> | 2010-09-15 22:43:24 +0200 |
commit | aa7df7b7379cc437515774d0ea91fb106aba5dc8 (patch) | |
tree | 0f76ea86aaa23887623368fcca595a27eb4200e1 /source3/printing/pcap.c | |
parent | adf8ca6ff8c6dbc365034a27f8d27a15aa533f97 (diff) | |
download | samba-aa7df7b7379cc437515774d0ea91fb106aba5dc8.tar.gz samba-aa7df7b7379cc437515774d0ea91fb106aba5dc8.tar.bz2 samba-aa7df7b7379cc437515774d0ea91fb106aba5dc8.zip |
s3/printing: make clock jump save and use monotonic time for cache timeout
Diffstat (limited to 'source3/printing/pcap.c')
-rw-r--r-- | source3/printing/pcap.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |