summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2002-01-22 17:45:30 +0000
committerGerald Carter <jerry@samba.org>2002-01-22 17:45:30 +0000
commita09fd5a2cee5cf66a7ab6197e0f4a1ddf60e1cd9 (patch)
tree80fb7c477bf22a06da5f554af5bc93749e2d7a24
parent7dbf8890287dded3748e990fbc81022488544796 (diff)
downloadsamba-a09fd5a2cee5cf66a7ab6197e0f4a1ddf60e1cd9.tar.gz
samba-a09fd5a2cee5cf66a7ab6197e0f4a1ddf60e1cd9.tar.xz
samba-a09fd5a2cee5cf66a7ab6197e0f4a1ddf60e1cd9.zip
Oops. Couple of tests that shouldn't have been checked in.
Commented out uintil I get them finished.
-rw-r--r--source/printing/nt_printing.c8
-rw-r--r--source/rpc_server/srv_spoolss_nt.c2
2 files changed, 7 insertions, 3 deletions
diff --git a/source/printing/nt_printing.c b/source/printing/nt_printing.c
index 4bcbb120988..d95c086ab5b 100644
--- a/source/printing/nt_printing.c
+++ b/source/printing/nt_printing.c
@@ -2552,7 +2552,7 @@ static WERROR get_a_printer_2_default(NT_PRINTER_INFO_LEVEL_2 **info_ptr, fstrin
* See the HP Deskjet 990c Win2k drivers for an example.
*/
-#if 0 /* JRA - NO NOT CHANGE ! */
+#if 1 /* JRA - NO NOT CHANGE ! */
info.devmode = NULL;
#else
/*
@@ -2641,7 +2641,7 @@ static WERROR get_a_printer_2(NT_PRINTER_INFO_LEVEL_2 **info_ptr, fstring sharen
fstrcpy(info.printername, printername);
len += unpack_devicemode(&info.devmode,dbuf.dptr+len, dbuf.dsize-len);
-#if 1
+#if 0
/*
* Some client drivers freak out if there is a NULL devmode
* (probably the driver is not checking before accessing
@@ -3149,6 +3149,10 @@ static WERROR save_driver_init_2(NT_PRINTER_INFO_LEVEL *printer, NT_PRINTER_PARA
DEBUG(10,("save_driver_init_2: error setting DEVMODE on printer [%s]\n",
printer->info_2->printername));
}
+
+#if 0 /* JERRY */
+ srv_spoolss_sendnotify(p, handle);
+#endif
done:
talloc_destroy(ctx);
diff --git a/source/rpc_server/srv_spoolss_nt.c b/source/rpc_server/srv_spoolss_nt.c
index e0f4cb9fb32..9b02de470a9 100644
--- a/source/rpc_server/srv_spoolss_nt.c
+++ b/source/rpc_server/srv_spoolss_nt.c
@@ -3758,7 +3758,7 @@ static WERROR construct_printer_driver_info_3(DRIVER_INFO_3 *info, int snum, fst
status=get_a_printer_driver(&driver, 3, printer->info_2->drivername, architecture, version);
DEBUG(8,("construct_printer_driver_info_3: status: %s\n", werror_str(status)));
-if 0 /* JERRY */
+#if 0 /* JERRY */
/*
* I put this code in during testing. Helpful when commenting out the