summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-04-27 17:32:34 +0200
committerGünther Deschner <gd@samba.org>2010-04-27 17:56:48 +0200
commit7532640a74bbdd3c815e29732785350e9622925e (patch)
tree671126b5b45eb0bba6af085d85506ef5e2dcf804 /source3
parent70ec7e07001d0308cb3902b13378a1ef61b2acb9 (diff)
downloadsamba-7532640a74bbdd3c815e29732785350e9622925e.tar.gz
samba-7532640a74bbdd3c815e29732785350e9622925e.tar.bz2
samba-7532640a74bbdd3c815e29732785350e9622925e.zip
s3-spoolss: publish "Monitor" in winreg for drivers.
Found by torture test. Guenther
Diffstat (limited to 'source3')
-rw-r--r--source3/registry/reg_backend_printing.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/registry/reg_backend_printing.c b/source3/registry/reg_backend_printing.c
index f28fe3f90a..e90c708edf 100644
--- a/source3/registry/reg_backend_printing.c
+++ b/source3/registry/reg_backend_printing.c
@@ -906,6 +906,7 @@ static void fill_in_driver_values(const struct spoolss_DriverInfo8 *r,
regval_ctr_addvalue_sz(values, "Help File", filename);
regval_ctr_addvalue_sz(values, "Datatype", r->default_datatype);
+ regval_ctr_addvalue_sz(values, "Monitor", r->monitor_name);
regval_ctr_addvalue( values, "Version", REG_DWORD, (char*)&r->version,
sizeof(r->version) );