summaryrefslogtreecommitdiffhomepage
path: root/loginutils
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2006-11-27 16:49:55 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2006-11-27 16:49:55 +0000
commitd9e15f206840219bb0f39c912a42fdcf8cbcaed6 (patch)
treeffdef7f5ab4a33038d0a62c9355b48f362aa463e /loginutils
parent079f8afa0a16112cbaf7012c82b38b7358b82141 (diff)
style cleanup: return(a) -> return a, part 2
Diffstat (limited to 'loginutils')
-rw-r--r--loginutils/passwd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/loginutils/passwd.c b/loginutils/passwd.c
index 54f35d2d5..2811ab72e 100644
--- a/loginutils/passwd.c
+++ b/loginutils/passwd.c
@@ -261,16 +261,16 @@ static int create_backup(const char *backup, FILE * fp)
static int i64c(int i)
{
if (i <= 0)
- return ('.');
+ return '.';
if (i == 1)
- return ('/');
+ return '/';
if (i >= 2 && i < 12)
return ('0' - 2 + i);
if (i >= 12 && i < 38)
return ('A' - 12 + i);
if (i >= 38 && i < 63)
return ('a' - 38 + i);
- return ('z');
+ return 'z';
}
static char *crypt_make_salt(void)