Cygwin: uinfo.cc: fix formatting
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
		| @@ -778,7 +778,7 @@ cygheap_pwdgrp::nss_init_line (const char *line) | ||||
| 		    *spc = L'\0'; | ||||
| 		} | ||||
| 	      else | ||||
| 	      	new_enums &= ~(ENUM_TDOMS | ENUM_TDOMS_ALL); | ||||
| 		new_enums &= ~(ENUM_TDOMS | ENUM_TDOMS_ALL); | ||||
| 	    } | ||||
| 	  enums = new_enums; | ||||
| 	} | ||||
| @@ -896,7 +896,7 @@ fetch_windows_home (cyg_ldap *pldap, PUSER_INFO_3 ui, cygpsid &sid, | ||||
|       WCHAR sidstr[128]; | ||||
|  | ||||
|       if (get_user_profile_directory (sid.string (sidstr), profile, MAX_PATH)) | ||||
|       	home = (char *) cygwin_create_path (CCP_WIN_W_TO_POSIX, profile); | ||||
| 	home = (char *) cygwin_create_path (CCP_WIN_W_TO_POSIX, profile); | ||||
|     } | ||||
|   return home; | ||||
| } | ||||
| @@ -950,9 +950,9 @@ fetch_from_path (cyg_ldap *pldap, PUSER_INFO_3 ui, cygpsid &sid, PCWSTR str, | ||||
|   while (*str && w < we) | ||||
|     { | ||||
|       if (*str != L'%') | ||||
|       	*w++ = *str++; | ||||
| 	*w++ = *str++; | ||||
|       else | ||||
|       	{ | ||||
| 	{ | ||||
| 	  switch (*++str) | ||||
| 	    { | ||||
| 	    case L'u': | ||||
| @@ -1135,7 +1135,7 @@ cygheap_pwdgrp::get_shell (cyg_ldap *pldap, cygpsid &sid, PCWSTR dom, | ||||
| 	  break; | ||||
| 	case NSS_SCHEME_PATH: | ||||
| 	  shell = fetch_from_path (pldap, NULL, sid, shell_scheme[idx].attrib, | ||||
| 	  			   dom, dnsdomain, name, full_qualified); | ||||
| 				   dom, dnsdomain, name, full_qualified); | ||||
| 	  break; | ||||
| 	case NSS_SCHEME_FREEATTR: | ||||
| 	  if (pldap->fetch_ad_account (sid, false, dnsdomain)) | ||||
| @@ -1961,7 +1961,7 @@ pwdgrp::fetch_account_from_windows (fetch_user_arg_t &arg, cyg_ldap *pldap) | ||||
| 	*wcpncpy (dom, arg.full_acc->dom->Buffer, | ||||
| 		  arg.full_acc->dom->Length / sizeof (WCHAR)) = L'\0'; | ||||
| 	acc_type = arg.full_acc->acc_type; | ||||
|       	ret = acc_type != SidTypeUnknown; | ||||
| 	ret = acc_type != SidTypeUnknown; | ||||
|       } | ||||
|       break; | ||||
|     case SID_arg: | ||||
| @@ -2280,7 +2280,7 @@ pwdgrp::fetch_account_from_windows (fetch_user_arg_t &arg, cyg_ldap *pldap) | ||||
| 	  && (sid_sub_auth_count (sid) <= 3 || sid_id_auth (sid) == 11)) | ||||
| 	acc_type = SidTypeWellKnownGroup; | ||||
|       switch ((int) acc_type) | ||||
|       	{ | ||||
| 	{ | ||||
| 	case SidTypeUser: | ||||
| 	  if (is_group ()) | ||||
| 	    { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user