s3:nmbd: Remove trailing spaces in nmbd_synclists.c
authorAndreas Schneider <asn@samba.org>
Thu, 25 Apr 2024 09:49:31 +0000 (11:49 +0200)
committerVolker Lendecke <vl@samba.org>
Mon, 29 Apr 2024 08:43:32 +0000 (08:43 +0000)
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
source3/nmbd/nmbd_synclists.c

index f94e41c9af4cea5dba101d1cbee66bea7b585ac9..7f514dfe14245001cecf8bcfa1a7c5a6e9ed779c 100644 (file)
@@ -1,4 +1,4 @@
-/* 
+/*
    Unix SMB/CIFS implementation.
    NBT netbios routines and daemon - version 2
    Copyright (C) Andrew Tridgell 1994-1998
@@ -67,7 +67,7 @@ static void callback(const char *sname, uint32_t stype,
   do a NetServerEnum and record the results in fname
 ******************************************************************/
 
-static void sync_child(char *name, int nm_type, 
+static void sync_child(char *name, int nm_type,
                       char *workgroup,
                       struct in_addr ip, bool local, bool servers,
                       char *fname)
@@ -119,13 +119,13 @@ static void sync_child(char *name, int nm_type,
 
        /* Fetch a workgroup list. */
        cli_NetServerEnum(cli, unix_workgroup,
-                         local_type|SV_TYPE_DOMAIN_ENUM, 
+                         local_type|SV_TYPE_DOMAIN_ENUM,
                          callback, NULL);
 
        /* Now fetch a server list. */
        if (servers) {
                fstrcpy(unix_workgroup, workgroup);
-               cli_NetServerEnum(cli, unix_workgroup, 
+               cli_NetServerEnum(cli, unix_workgroup,
                                  local?SV_TYPE_LOCAL_LIST_ONLY:SV_TYPE_ALL,
                                  callback, NULL);
        }
@@ -140,7 +140,7 @@ static void sync_child(char *name, int nm_type,
 ******************************************************************/
 
 void sync_browse_lists(struct work_record *work,
-                      char *name, int nm_type, 
+                      char *name, int nm_type,
                       struct in_addr ip, bool local, bool servers)
 {
        struct sync_record *s;
@@ -220,7 +220,7 @@ static void complete_one(struct sync_record *s,
                        update_workgroup_ttl(work,lp_max_ttl());
                } else {
                        /* Create the workgroup on the subnet. */
-                       work = create_workgroup_on_subnet(unicast_subnet, 
+                       work = create_workgroup_on_subnet(unicast_subnet,
                                                          sname, lp_max_ttl());
                        if (work) {
                                /* remember who the master is */
@@ -228,7 +228,7 @@ static void complete_one(struct sync_record *s,
                        }
                }
                return;
-       } 
+       }
 
        work = find_workgroup_on_subnet(unicast_subnet, s->workgroup);
        if (!work) {
@@ -248,9 +248,9 @@ static void complete_one(struct sync_record *s,
                        servrec->serv.type = stype;
                }
                return;
-       } 
+       }
 
-       /* Create the server in the workgroup. */ 
+       /* Create the server in the workgroup. */
        create_server_on_workgroup(work, sname,stype, lp_max_ttl(), comment);
 }