1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

s3-spoolss: fix winreg attribute for storing datatype.

Found by torture test (and checked with w2k, w2k3 and w2k8).

Guenther
This commit is contained in:
Günther Deschner 2010-04-27 16:48:29 +02:00
parent 03a9ac4e2b
commit 70ec7e0700

View File

@ -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) );