diff options
author | Jean-François Micouleau <jfm@samba.org> | 2000-07-04 22:51:05 +0000 |
---|---|---|
committer | Jean-François Micouleau <jfm@samba.org> | 2000-07-04 22:51:05 +0000 |
commit | 53e0629979e4196dfde1ccfe76616cab1d7e058e (patch) | |
tree | 6135351ce1b3a989f26adbaeb1715dc9695e5e73 | |
parent | b8262b4bdd1d538bfdeff344fa0ef6ccd4674d59 (diff) | |
download | samba-53e0629979e4196dfde1ccfe76616cab1d7e058e.tar.gz samba-53e0629979e4196dfde1ccfe76616cab1d7e058e.tar.bz2 samba-53e0629979e4196dfde1ccfe76616cab1d7e058e.zip |
the dummy field in driver_info_6 is before the driver version and not
after.
I don't know who broke all that code, but I'm ******** (censured)
J.F.
(This used to be commit 1fae158529ca0d1cb01ff422638418ce0dbd8dbf)
-rw-r--r-- | source3/rpc_parse/parse_spoolss.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/rpc_parse/parse_spoolss.c b/source3/rpc_parse/parse_spoolss.c index 01fa73b187..ec8f9901f5 100644 --- a/source3/rpc_parse/parse_spoolss.c +++ b/source3/rpc_parse/parse_spoolss.c @@ -3817,10 +3817,10 @@ BOOL spool_io_printer_driver_info_level_6(char *desc, SPOOL_PRINTER_DRIVER_INFO_ return False; if(!smb_io_time("driverdate", &il->driverdate, ps, depth)) return False; - if(!prs_uint64("driverversion", ps, depth, &il->driverversion)) - return False; if(!prs_uint32("dummy4", ps, depth, &il->dummy4)) return False; + if(!prs_uint64("driverversion", ps, depth, &il->driverversion)) + return False; if(!prs_uint32("mfgname_ptr", ps, depth, &il->mfgname_ptr)) return False; if(!prs_uint32("oemurl_ptr", ps, depth, &il->oemurl_ptr)) |