svn commit: samba r8152 - in branches/SAMBA_3_0/source: include registry

jerry at samba.org jerry at samba.org
Mon Jul 4 16:52:29 GMT 2005


Author: jerry
Date: 2005-07-04 16:52:29 +0000 (Mon, 04 Jul 2005)
New Revision: 8152

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=8152

Log:
* remove commented out structure
* use SAMBA_PRINTER_PORT_NAME in registry values for builtin printer
  port


Modified:
   branches/SAMBA_3_0/source/include/nt_printing.h
   branches/SAMBA_3_0/source/registry/reg_db.c


Changeset:
Modified: branches/SAMBA_3_0/source/include/nt_printing.h
===================================================================
--- branches/SAMBA_3_0/source/include/nt_printing.h	2005-07-04 16:39:11 UTC (rev 8151)
+++ branches/SAMBA_3_0/source/include/nt_printing.h	2005-07-04 16:52:29 UTC (rev 8152)
@@ -344,21 +344,6 @@
 	uint32 bottom;
 } nt_forms_struct;
 
-/*
-typedef struct _form
-{
-       uint32 flags;
-       uint32 name_ptr;
-       uint32 size_x;
-       uint32 size_y;
-       uint32 left;
-       uint32 top;
-       uint32 right;
-       uint32 bottom;
-       UNISTR2 name;
-} FORM;
-*/
-
 #ifndef SAMBA_PRINTER_PORT_NAME
 #define SAMBA_PRINTER_PORT_NAME "Samba Printer Port"
 #endif

Modified: branches/SAMBA_3_0/source/registry/reg_db.c
===================================================================
--- branches/SAMBA_3_0/source/registry/reg_db.c	2005-07-04 16:39:11 UTC (rev 8151)
+++ branches/SAMBA_3_0/source/registry/reg_db.c	2005-07-04 16:52:29 UTC (rev 8152)
@@ -67,9 +67,9 @@
 	{ "HKLM\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion",         
 		"SystemRoot", REG_SZ, { "c:\\Windows" } },
 	{ "HKLM\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Ports",  
-		"Samba Printer Port", REG_SZ, { "" } },
+		SAMBA_PRINTER_PORT_NAME, REG_SZ, { "" } },
 	{ "HKLM\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Print\\Printers",  
-		"DefaultSpoolDirectory", REG_SZ, { "c:\\windows\\system32\\spool\\printers" } },
+		"DefaultSpoolDirectory", REG_SZ, { "C:\\Windows\\System32\\Spool\\Printers" } },
 	{ NULL, NULL, 0, { NULL } }
 };
 



More information about the samba-cvs mailing list