svn commit: samba r5773 - in trunk/source/printing: .

gd at samba.org gd at samba.org
Sat Mar 12 15:08:07 GMT 2005


Author: gd
Date: 2005-03-12 15:08:07 +0000 (Sat, 12 Mar 2005)
New Revision: 5773

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

Log:
give a form a name in file_get_forms().

Guenther

Modified:
   trunk/source/printing/printerdb_file.c


Changeset:
Modified: trunk/source/printing/printerdb_file.c
===================================================================
--- trunk/source/printing/printerdb_file.c	2005-03-12 10:41:26 UTC (rev 5772)
+++ trunk/source/printing/printerdb_file.c	2005-03-12 15:08:07 UTC (rev 5773)
@@ -417,6 +417,8 @@
 			       &form.right, &form.bottom) < 0)
 			goto done;
 
+		fstrcpy(form.name, temp_list->file);
+
 		tl = SMB_REALLOC_ARRAY(*list, nt_forms_struct, n+1);
 		if (!tl) {
 			DEBUG(0,("file_get_forms: Realloc fail.\n"));
@@ -688,6 +690,8 @@
 		   driver.monitorname,
 		   driver.defaultdatatype);
 
+	/* missing dependentfiles */
+
 	*info_ptr = (NT_PRINTER_DRIVER_INFO_LEVEL_3 *)memdup(&driver, sizeof(driver));
 
 	result = WERR_OK;



More information about the samba-cvs mailing list