mirror of https://github.com/MidnightCommander/mc
Ticket #2225: code cleanup before 4.7.0.6 release.
Fixed indentation. Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
c884435c1e
commit
df6bbf38eb
30
lib/util.c
30
lib/util.c
|
@ -486,25 +486,19 @@ strip_password (char *p, int has_prefix)
|
|||
size_t len;
|
||||
} prefixes[] =
|
||||
{
|
||||
{
|
||||
"/#ftp:", 6},
|
||||
{
|
||||
"ftp://", 6},
|
||||
{
|
||||
"/#mc:", 5},
|
||||
{
|
||||
"mc://", 5},
|
||||
{
|
||||
"/#smb:", 6},
|
||||
{
|
||||
"smb://", 6},
|
||||
{
|
||||
"/#sh:", 5},
|
||||
{
|
||||
"sh://", 5},
|
||||
{
|
||||
"ssh://", 6}
|
||||
/* *INDENT-OFF* */
|
||||
{ "/#ftp:", 6 },
|
||||
{ "ftp://", 6 },
|
||||
{ "/#mc:", 5 },
|
||||
{ "mc://", 5 },
|
||||
{ "/#smb:", 6 },
|
||||
{ "smb://", 6 },
|
||||
{ "/#sh:", 5 },
|
||||
{ "sh://", 5 },
|
||||
{ "ssh://", 6 }
|
||||
/* *INDENT-ON* */
|
||||
};
|
||||
|
||||
char *at, *inner_colon, *dir;
|
||||
size_t i;
|
||||
char *result = p;
|
||||
|
|
Loading…
Reference in New Issue