return;
}
- /* only go looking if no printcap name supplied */
+ /* only go looking if a printcap name is supplied */
if (pcap_name == NULL || *pcap_name == 0) {
DEBUG(0, ("No printcap file name configured!\n"));
return;
print_queue_struct *queue = NULL;
/* never do substitution when running the 'lpq command' since we can't
- get it rigt when using the background update daemon. Make the caller
+ get it right when using the background update daemon. Make the caller
do it before passing off the command string to us here. */
print_run_command(-1, printer_name, False, lpq_command, &fd, NULL);
DEBUG(3, ("reload_printers: "
"Could not create system session_info\n"));
/* can't remove stale printers before we
- * are fully initilized */
+ * are fully initialized */
return;
}
* newly added printers get default values created in the registry.
*
* This will block the process for some time (~1 sec per printer), but
- * it doesn't block smbd's servering clients.
+ * it doesn't block smbd's serving clients.
*/
delete_and_reload_printers_full(ev, msg_ctx);
uint16_t field, int id);
/***********************************************************************
- Send a change notication message on all handles which have a call
+ Send a change notifation message on all handles which have a call
back registered
**********************************************************************/