From 70ec7e07001d0308cb3902b13378a1ef61b2acb9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCnther=20Deschner?= Date: Tue, 27 Apr 2010 16:48:29 +0200 Subject: [PATCH] s3-spoolss: fix winreg attribute for storing datatype. Found by torture test (and checked with w2k, w2k3 and w2k8). Guenther --- source3/registry/reg_backend_printing.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/registry/reg_backend_printing.c b/source3/registry/reg_backend_printing.c index 7383ce66bd9..f28fe3f90a3 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) );