]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s4:torture: Remove trailing spaces from smbtorture.c
authorAndreas Schneider <asn@samba.org>
Thu, 1 Aug 2024 08:22:38 +0000 (10:22 +0200)
committerVolker Lendecke <vl@samba.org>
Thu, 1 Aug 2024 15:47:30 +0000 (15:47 +0000)
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
source4/torture/smbtorture.c

index ad1280be7d818c7c6da0b9a882958de7f3a06116..0aa5eaee9a27a40cd5f8110b20311f995e81ced5 100644 (file)
@@ -1,19 +1,19 @@
-/* 
+/*
    Unix SMB/CIFS implementation.
    SMB torture tester
    Copyright (C) Andrew Tridgell 1997-2003
    Copyright (C) Jelmer Vernooij 2006-2008
-   
+
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation; either version 3 of the License, or
    (at your option) any later version.
-   
+
    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.
-   
+
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
@@ -73,7 +73,7 @@ static void print_test_list(const struct torture_suite *suite, const char *prefi
 }
 
 static bool run_matching(struct torture_context *torture,
-                                                const char *prefix, 
+                                                const char *prefix,
                                                 const char *expr,
                                                 const char **restricted,
                                                 struct torture_suite *suite,
@@ -450,7 +450,7 @@ int main(int argc, const char *argv[])
                 "run async tests", NULL},
                {"num-async",    0, POPT_ARG_INT,  &torture_numasync,  0,
                 "number of simultaneous async requests", NULL},
-               {"maximum-runtime", 0, POPT_ARG_INT, &max_runtime, 0, 
+               {"maximum-runtime", 0, POPT_ARG_INT, &max_runtime, 0,
                 "set maximum time for smbtorture to live", "seconds"},
                {"extra-user",   0, POPT_ARG_STRING, NULL, OPT_EXTRA_USER,
                 "extra user credentials", NULL},
@@ -628,16 +628,16 @@ int main(int argc, const char *argv[])
        if (extra_module != NULL) {
                init_module_fn fn = load_module(poptGetOptArg(pc), false, NULL);
 
-               if (fn == NULL) 
+               if (fn == NULL)
                        d_printf("Unable to load module from %s\n", poptGetOptArg(pc));
                else {
                        status = fn(mem_ctx);
                        if (NT_STATUS_IS_ERR(status)) {
-                               d_printf("Error initializing module %s: %s\n", 
+                               d_printf("Error initializing module %s: %s\n",
                                        poptGetOptArg(pc), nt_errstr(status));
                        }
                }
-       } else { 
+       } else {
                torture_init(mem_ctx);
        }
 
@@ -673,7 +673,7 @@ int main(int argc, const char *argv[])
 
        if (torture_seed == 0) {
                torture_seed = time(NULL);
-       } 
+       }
        printf("Using seed %d\n", torture_seed);
        srandom(torture_seed);