[newlib-cygwin/topic/posix_acl_funcs] Fix formatting in sec_auth.cc

Corinna Vinschen corinna@sourceware.org
Sun Jan 24 10:30:00 GMT 2016


https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=d44ec01ea175d6fb226191e19533cc7675dfae0d

commit d44ec01ea175d6fb226191e19533cc7675dfae0d
Author: Corinna Vinschen <corinna@vinschen.de>
Date:   Thu Jan 21 18:27:05 2016 +0100

    Fix formatting in sec_auth.cc
    
    Signed-off-by: Corinna Vinschen <corinna@vinschen.de>

Diff:
---
 winsup/cygwin/sec_auth.cc | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/winsup/cygwin/sec_auth.cc b/winsup/cygwin/sec_auth.cc
index d5fa76d..aef1319 100644
--- a/winsup/cygwin/sec_auth.cc
+++ b/winsup/cygwin/sec_auth.cc
@@ -134,11 +134,11 @@ extract_nt_dom_user (const struct passwd *pw, PWCHAR domain, PWCHAR user)
     {
       c = strchrnul (d + 2, ',');
       if ((u = strchrnul (d + 2, '\\')) >= c)
-       u = d + 1;
+	u = d + 1;
       else if (u - d <= MAX_DOMAIN_NAME_LEN + 2)
-       sys_mbstowcs (domain, MAX_DOMAIN_NAME_LEN + 1, d + 2, u - d - 1);
+	sys_mbstowcs (domain, MAX_DOMAIN_NAME_LEN + 1, d + 2, u - d - 1);
       if (c - u <= UNLEN + 1)
-       sys_mbstowcs (user, UNLEN + 1, u + 1, c - u);
+	sys_mbstowcs (user, UNLEN + 1, u + 1, c - u);
     }
 }



More information about the Cygwin-cvs mailing list