Add an output parameter to message_send_all that says how many
[ira/wip.git] / source3 / rpc_server / srv_spoolss_nt.c
index 5794f1de048f0c7f84233a2dbb543e6e4b72d4cd..3fe21eb96830cb477f612a0c859fb35b28ab0d44 100644 (file)
@@ -690,7 +690,7 @@ static BOOL srv_spoolss_sendnotify(pipes_struct *p, POLICY_HND *handle)
        /*srv_spoolss_receive_message(printer);*/
        DEBUG(10,("srv_spoolss_sendnotify: Sending message about printer %s\n", printer ));
 
-       message_send_all(conn_tdb_ctx(), MSG_PRINTER_NOTIFY, printer, strlen(printer) + 1, False); /* Null terminate... */
+       broadcast_printer_notify(printer);
 
        return True;
 }