diff options
author | Günther Deschner <gd@samba.org> | 2010-04-27 16:48:29 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2010-04-27 17:56:47 +0200 |
commit | 70ec7e07001d0308cb3902b13378a1ef61b2acb9 (patch) | |
tree | 8cd8415d6bcd0489444f0e41b989bf65659fcf1a | |
parent | 03a9ac4e2bb28620c773104f4b3dd23798b7146c (diff) | |
download | samba-70ec7e07001d0308cb3902b13378a1ef61b2acb9.tar.gz samba-70ec7e07001d0308cb3902b13378a1ef61b2acb9.tar.bz2 samba-70ec7e07001d0308cb3902b13378a1ef61b2acb9.zip |
s3-spoolss: fix winreg attribute for storing datatype.
Found by torture test (and checked with w2k, w2k3 and w2k8).
Guenther
-rw-r--r-- | source3/registry/reg_backend_printing.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/registry/reg_backend_printing.c b/source3/registry/reg_backend_printing.c index 7383ce66bd..f28fe3f90a 100644 --- a/source3/registry/reg_backend_printing.c +++ b/source3/registry/reg_backend_printing.c @@ -905,7 +905,7 @@ static void fill_in_driver_values(const struct spoolss_DriverInfo8 *r, filename = dos_basename(r->help_file); regval_ctr_addvalue_sz(values, "Help File", filename); - regval_ctr_addvalue_sz(values, "Data Type", r->default_datatype); + regval_ctr_addvalue_sz(values, "Datatype", r->default_datatype); regval_ctr_addvalue( values, "Version", REG_DWORD, (char*)&r->version, sizeof(r->version) ); |