]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3:rpcclient: Remove trailing white spaces in rpcclient.c
authorAndreas Schneider <asn@samba.org>
Thu, 18 Nov 2021 10:32:42 +0000 (11:32 +0100)
committerAndreas Schneider <asn@cryptomilk.org>
Thu, 2 Dec 2021 13:59:31 +0000 (13:59 +0000)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14767

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
source3/rpcclient/rpcclient.c

index cf32229f303d681f898b74ae9b7846aea4ff9a7d..379fa3872eafe53bb26d76336952df0ec79784e0 100644 (file)
@@ -1,4 +1,4 @@
-/* 
+/*
    Unix SMB/CIFS implementation.
    RPC pipe client
 
@@ -73,9 +73,9 @@ static char **completion_fn(const char *text, int start, int end)
 
 #if 0  /* JERRY */
        /* FIXME!!!  -- what to do when completing argument? */
-       /* for words not at the start of the line fallback 
+       /* for words not at the start of the line fallback
           to filename completion */
-       if (start) 
+       if (start)
                return NULL;
 #endif
 
@@ -103,7 +103,7 @@ static char **completion_fn(const char *text, int start, int end)
                for (i=0; commands->cmd_set[i].name; i++) {
                        if ((strncmp(text, commands->cmd_set[i].name, strlen(text)) == 0) &&
                                (( commands->cmd_set[i].returntype == RPC_RTYPE_NTSTATUS &&
-                        commands->cmd_set[i].ntfn ) || 
+                        commands->cmd_set[i].ntfn ) ||
                       ( commands->cmd_set[i].returntype == RPC_RTYPE_WERROR &&
                         commands->cmd_set[i].wfn))) {
                                matches[count] = SMB_STRDUP(commands->cmd_set[i].name);
@@ -233,7 +233,7 @@ static NTSTATUS cmd_listcommands(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ct
 
         /* Help on one command */
 
-       for (tmp = cmd_list; tmp; tmp = tmp->next) 
+       for (tmp = cmd_list; tmp; tmp = tmp->next)
        {
                tmp_set = tmp->cmd_set;