s3-utils: remove trailing whitespace from profiles utility.
authorGünther Deschner <gd@samba.org>
Thu, 20 May 2010 10:02:55 +0000 (12:02 +0200)
committerGünther Deschner <gd@samba.org>
Thu, 20 May 2010 12:18:01 +0000 (14:18 +0200)
Guenther

source3/utils/profiles.c

index e44b2f8e94205ccc779ef8298199f3f5c70ce94b..a987f315d106d6ecf3692c27f4a1ea9564981ca0 100644 (file)
@@ -1,24 +1,24 @@
-/* 
-   Samba Unix/Linux SMB client utility profiles.c 
-   
-   Copyright (C) Richard Sharpe, <rsharpe@richardsharpe.com>   2002 
-   Copyright (C) Jelmer Vernooij (conversion to popt)          2003 
-   Copyright (C) Gerald (Jerry) Carter                         2005 
+/*
+   Samba Unix/Linux SMB client utility profiles.c
+
+   Copyright (C) Richard Sharpe, <rsharpe@richardsharpe.com>   2002
+   Copyright (C) Jelmer Vernooij (conversion to popt)          2003
+   Copyright (C) Gerald (Jerry) Carter                         2005
 
    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/>.  
+   along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
-                                  
+
 #include "includes.h"
 #include "reg_objects.h"
 #include "regfio.h"
@@ -66,7 +66,7 @@ static bool swap_sid_in_acl( struct security_descriptor *sd, DOM_SID *s1, DOM_SI
        if ( sid_equal( sd->owner_sid, s1 ) ) {
                sid_copy( sd->owner_sid, s2 );
                update = True;
-               verbose_output("  New Owner SID: %s\n", 
+               verbose_output("  New Owner SID: %s\n",
                        sid_string_tos(sd->owner_sid));
 
        }
@@ -75,19 +75,19 @@ static bool swap_sid_in_acl( struct security_descriptor *sd, DOM_SID *s1, DOM_SI
        if ( sid_equal( sd->group_sid, s1 ) ) {
                sid_copy( sd->group_sid, s2 );
                update = True;
-               verbose_output("  New Group SID: %s\n", 
+               verbose_output("  New Group SID: %s\n",
                        sid_string_tos(sd->group_sid));
        }
 
        theacl = sd->dacl;
        verbose_output("  DACL: %d entries:\n", theacl->num_aces);
        for ( i=0; i<theacl->num_aces; i++ ) {
-               verbose_output("    Trustee SID: %s\n", 
+               verbose_output("    Trustee SID: %s\n",
                        sid_string_tos(&theacl->aces[i].trustee));
                if ( sid_equal( &theacl->aces[i].trustee, s1 ) ) {
                        sid_copy( &theacl->aces[i].trustee, s2 );
                        update = True;
-                       verbose_output("    New Trustee SID: %s\n", 
+                       verbose_output("    New Trustee SID: %s\n",
                                sid_string_tos(&theacl->aces[i].trustee));
                }
        }
@@ -96,12 +96,12 @@ static bool swap_sid_in_acl( struct security_descriptor *sd, DOM_SID *s1, DOM_SI
        theacl = sd->sacl;
        verbose_output("  SACL: %d entries: \n", theacl->num_aces);
        for ( i=0; i<theacl->num_aces; i++ ) {
-               verbose_output("    Trustee SID: %s\n", 
+               verbose_output("    Trustee SID: %s\n",
                        sid_string_tos(&theacl->aces[i].trustee));
                if ( sid_equal( &theacl->aces[i].trustee, s1 ) ) {
                        sid_copy( &theacl->aces[i].trustee, s2 );
                        update = True;
-                       verbose_output("    New Trustee SID: %s\n", 
+                       verbose_output("    New Trustee SID: %s\n",
                                sid_string_tos(&theacl->aces[i].trustee));
                }
        }