summaryrefslogtreecommitdiff
path: root/source3/rpc_server
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2002-10-16 18:23:15 +0000
committerGerald Carter <jerry@samba.org>2002-10-16 18:23:15 +0000
commit378fd95ce872912bd2e21c87dd7369f5056203b8 (patch)
tree6d0aff225232fd3b21251a5e03d3afb30ee8d14b /source3/rpc_server
parent64876b9fb8b7ee3dd73d754070ae24ca36826350 (diff)
downloadsamba-378fd95ce872912bd2e21c87dd7369f5056203b8.tar.gz
samba-378fd95ce872912bd2e21c87dd7369f5056203b8.tar.bz2
samba-378fd95ce872912bd2e21c87dd7369f5056203b8.zip
merge from app_head to commit re-init'd printer to disk
(This used to be commit 92fd939c3439208660ac3821c458f8cd34a59555)
Diffstat (limited to 'source3/rpc_server')
-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 );