From ebd5322e6333a2f04d7fae1f89510cbcea0d5909 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sun, 21 Mar 2021 09:45:13 +0100 Subject: printing: Fix typos Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison --- source3/printing/pcap.c | 2 +- source3/printing/print_generic.c | 2 +- source3/printing/queue_process.c | 4 ++-- source3/rpc_server/spoolss/srv_spoolss_nt.c | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/source3/printing/pcap.c b/source3/printing/pcap.c index d348c658fd4..732637260fb 100644 --- a/source3/printing/pcap.c +++ b/source3/printing/pcap.c @@ -144,7 +144,7 @@ void pcap_cache_reload(struct tevent_context *ev, 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; diff --git a/source3/printing/print_generic.c b/source3/printing/print_generic.c index 0059fad23c5..075382780d4 100644 --- a/source3/printing/print_generic.c +++ b/source3/printing/print_generic.c @@ -164,7 +164,7 @@ static int generic_queue_get(const char *printer_name, 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); diff --git a/source3/printing/queue_process.c b/source3/printing/queue_process.c index a65bda4ad2f..3cd53d8f39d 100644 --- a/source3/printing/queue_process.c +++ b/source3/printing/queue_process.c @@ -76,7 +76,7 @@ static void delete_and_reload_printers_full(struct tevent_context *ev, 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; } @@ -145,7 +145,7 @@ static void reload_pcap_change_notify(struct tevent_context *ev, * 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); diff --git a/source3/rpc_server/spoolss/srv_spoolss_nt.c b/source3/rpc_server/spoolss/srv_spoolss_nt.c index d20c19d5271..c60f91b5581 100644 --- a/source3/rpc_server/spoolss/srv_spoolss_nt.c +++ b/source3/rpc_server/spoolss/srv_spoolss_nt.c @@ -1096,7 +1096,7 @@ static void construct_info_data(struct spoolss_Notify *info_data, 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 **********************************************************************/ -- cgit v1.2.1