]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
printing: Fix typos
authorVolker Lendecke <vl@samba.org>
Sun, 21 Mar 2021 08:45:13 +0000 (09:45 +0100)
committerJeremy Allison <jra@samba.org>
Wed, 24 Mar 2021 20:31:30 +0000 (20:31 +0000)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/printing/pcap.c
source3/printing/print_generic.c
source3/printing/queue_process.c
source3/rpc_server/spoolss/srv_spoolss_nt.c

index d348c658fd4b73692faf23fc61a5b9e06158d631..732637260fbf55c45e287bb356bc61cc256cc267 100644 (file)
@@ -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;
index 0059fad23c568587e68a78100cbfa79520fe9c05..075382780d48245551b988c0c5347a33307b0bc2 100644 (file)
@@ -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);
index a65bda4ad2f573888fe6b747fc4266957a7a588a..3cd53d8f39d34450c38b745f2115629968f5d274 100644 (file)
@@ -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);
 
index d20c19d5271b850f04a00cfc1d9a62729ceb804f..c60f91b558165420db02e81f037dd3bad7508c1a 100644 (file)
@@ -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
  **********************************************************************/