summaryrefslogtreecommitdiff
path: root/source3/rpc_parse
diff options
context:
space:
mode:
authorJean-François Micouleau <jfm@samba.org>2000-07-12 16:11:33 +0000
committerJean-François Micouleau <jfm@samba.org>2000-07-12 16:11:33 +0000
commit6c2242eadee7b9e69d3a868426807e525a4f5b0e (patch)
treef6ede9d5a6d8aae874162acaa924330f4e011c22 /source3/rpc_parse
parent5813ecff99431c3529cd45f3b579ef16e72a46f0 (diff)
downloadsamba-6c2242eadee7b9e69d3a868426807e525a4f5b0e.tar.gz
samba-6c2242eadee7b9e69d3a868426807e525a4f5b0e.tar.bz2
samba-6c2242eadee7b9e69d3a868426807e525a4f5b0e.zip
we are now sure the printer_info_2 timestamp is updated everytime
required. J.F. (This used to be commit 08b41bab177affac088c981d7c620728e8e6e9b0)
Diffstat (limited to 'source3/rpc_parse')
-rw-r--r--source3/rpc_parse/parse_spoolss.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/source3/rpc_parse/parse_spoolss.c b/source3/rpc_parse/parse_spoolss.c
index 74a93b5776..c0c6e36ae1 100644
--- a/source3/rpc_parse/parse_spoolss.c
+++ b/source3/rpc_parse/parse_spoolss.c
@@ -4162,7 +4162,6 @@ BOOL uni_2_asc_printer_info_2(const SPOOL_PRINTER_INFO_LEVEL_2 *uni,
NT_PRINTER_INFO_LEVEL_2 **asc)
{
NT_PRINTER_INFO_LEVEL_2 *d;
- NTTIME time_nt;
time_t time_unix;
DEBUG(7,("Converting from UNICODE to ASCII\n"));
@@ -4194,10 +4193,6 @@ BOOL uni_2_asc_printer_info_2(const SPOOL_PRINTER_INFO_LEVEL_2 *uni,
d->untiltime=uni->untiltime;
d->status=uni->status;
d->cjobs=uni->cjobs;
-
- unix_to_nt_time(&time_nt, time_unix);
- d->changeid=time_nt.low;
- d->c_setprinter++;
unistr2_to_ascii(d->servername, &uni->servername, sizeof(d->servername)-1);
unistr2_to_ascii(d->printername, &uni->printername, sizeof(d->printername)-1);