s4:lib: Fix trailing whitespaces in tools/regshell.c
authorPavel Filipenský <pfilipen@redhat.com>
Fri, 8 Jul 2022 14:52:21 +0000 (16:52 +0200)
committerAndreas Schneider <asn@cryptomilk.org>
Fri, 15 Jul 2022 14:25:38 +0000 (14:25 +0000)
Signed-off-by: Pavel Filipenský <pfilipen@redhat.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
source4/lib/registry/tools/regshell.c

index 4d65038d2ae7c0540191444069fffb9cce5cb38f..1dd1cd5b8a1809d4ac5738350e0a6fa3eb2b9955 100644 (file)
@@ -47,7 +47,7 @@ static WERROR get_full_path(struct regshell_context *ctx, const char *path, char
                new_path = talloc_strdup(ctx, "");
        } else {
                new_path = talloc_strdup(ctx, ctx->path);
-       }               
+       }
 
        dir = strtok(discard_const_p(char, path), "\\");
        if (dir == NULL) {
@@ -64,7 +64,7 @@ static WERROR get_full_path(struct regshell_context *ctx, const char *path, char
                                talloc_free(tmp);
                        }
                        continue;
-               } 
+               }
                if (strcmp(dir, ".") == 0) {
                        continue;
                }
@@ -77,7 +77,7 @@ static WERROR get_full_path(struct regshell_context *ctx, const char *path, char
                        new_path = talloc_asprintf(ctx, "%s\\%s", new_path, dir);
                }
                talloc_free(tmp);
-               
+
        } while ((dir = strtok(NULL, "\\")));
 
        *ret_path = new_path;