summaryrefslogtreecommitdiff
path: root/source3/rpc_server/srv_spoolss_nt.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-08-07 18:27:36 +0200
committerVolker Lendecke <vl@samba.org>2010-08-08 08:40:57 +0200
commit9e88b57407fc9d201277a70226a6be3fb713ae39 (patch)
treec08e83969c1d3e274edf38fd48e94d033b3fa85b /source3/rpc_server/srv_spoolss_nt.c
parent6598d6dc41743b5390c803097eea27f951efa531 (diff)
downloadsamba-9e88b57407fc9d201277a70226a6be3fb713ae39.tar.gz
samba-9e88b57407fc9d201277a70226a6be3fb713ae39.tar.bz2
samba-9e88b57407fc9d201277a70226a6be3fb713ae39.zip
s3: Fix typos
Diffstat (limited to 'source3/rpc_server/srv_spoolss_nt.c')
-rw-r--r--source3/rpc_server/srv_spoolss_nt.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/source3/rpc_server/srv_spoolss_nt.c b/source3/rpc_server/srv_spoolss_nt.c
index 89b9e7acd1..5a25a2c3fa 100644
--- a/source3/rpc_server/srv_spoolss_nt.c
+++ b/source3/rpc_server/srv_spoolss_nt.c
@@ -172,7 +172,7 @@ static void srv_spoolss_replycloseprinter(int snum, struct policy_handle *handle
if (!print_notify_deregister_pid(snum))
DEBUG(0,("print_notify_register_pid: Failed to register our pid for printer %s\n", lp_const_servicename(snum) ));
- /* weird if the test succeds !!! */
+ /* weird if the test succeeds !!! */
if (smb_connections==0) {
DEBUG(0,("srv_spoolss_replycloseprinter:Trying to close non-existant notify backchannel !\n"));
return;
@@ -189,7 +189,10 @@ static void srv_spoolss_replycloseprinter(int snum, struct policy_handle *handle
if (smb_connections==1) {
cli_shutdown( rpc_pipe_np_smb_conn(notify_cli_pipe) );
- notify_cli_pipe = NULL; /* The above call shuts downn the pipe also. */
+ /*
+ * The above call shuts down the pipe also.
+ */
+ notify_cli_pipe = NULL;
messaging_deregister(smbd_messaging_context(),
MSG_PRINTER_NOTIFY2, NULL);