summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2002-10-16 18:21:55 +0000
committerGerald Carter <jerry@samba.org>2002-10-16 18:21:55 +0000
commita0fbdc3d64efb5ea14baa558bb360168edfef3ca (patch)
treecf65eb45312b4d525ab0b7bc44d5518d539690ff /source3
parent9e19e9e9c13e3984dff3c1dfc6b9a292611812f6 (diff)
downloadsamba-a0fbdc3d64efb5ea14baa558bb360168edfef3ca.tar.gz
samba-a0fbdc3d64efb5ea14baa558bb360168edfef3ca.tar.bz2
samba-a0fbdc3d64efb5ea14baa558bb360168edfef3ca.zip
fix from APP_HEAD to commit a re-init'd printer to disk
(This used to be commit 64a159144483457887df2c6d779e6a139dfc6d1f)
Diffstat (limited to 'source3')
-rw-r--r--source3/rpc_server/srv_spoolss_nt.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/source3/rpc_server/srv_spoolss_nt.c b/source3/rpc_server/srv_spoolss_nt.c
index a4dcfdcec9..3e6d5d6594 100644
--- a/source3/rpc_server/srv_spoolss_nt.c
+++ b/source3/rpc_server/srv_spoolss_nt.c
@@ -1273,6 +1273,12 @@ void reset_all_printerdata(int msg_type, pid_t src, void *buf, size_t len)
DEBUG(5,("reset_all_printerdata: Error resetting printer data for printer [%s], driver [%s]!\n",
printer->info_2->printername, printer->info_2->drivername));
}
+
+ result = mod_a_printer( *printer, 2 );
+ if ( !W_ERROR_IS_OK(result) ) {
+ DEBUG(3,("reset_all_printerdata: mod_a_printer() failed! (%s)\n",
+ get_dos_error_msg(result)));
+ }
}
free_a_printer( &printer, 2 );