Commit 8e39b5dc 8e39b5dc91a2000488ac3dad5a0433fe25c5a52b by Sergey Poznyakoff

Fixed indentation.

1 parent efe91b09
...@@ -54,20 +54,20 @@ imap4d_authenticate (struct imap4d_command *command, char *arg) ...@@ -54,20 +54,20 @@ imap4d_authenticate (struct imap4d_command *command, char *arg)
54 54
55 if (username) 55 if (username)
56 { 56 {
57 struct passwd *pw = mu_getpwnam (username); 57 struct passwd *pw = mu_getpwnam (username);
58 if (pw == NULL) 58 if (pw == NULL)
59 return util_finish (command, RESP_NO, 59 return util_finish (command, RESP_NO,
60 "User name or passwd rejected"); 60 "User name or passwd rejected");
61 61
62 if (pw->pw_uid > 0 && !mu_virtual_domain) 62 if (pw->pw_uid > 0 && !mu_virtual_domain)
63 setuid (pw->pw_uid); 63 setuid (pw->pw_uid);
64 64
65 homedir = mu_normalize_path (strdup (pw->pw_dir), "/"); 65 homedir = mu_normalize_path (strdup (pw->pw_dir), "/");
66 /* FIXME: Check for errors. */ 66 /* FIXME: Check for errors. */
67 chdir (homedir); 67 chdir (homedir);
68 namespace_init(pw->pw_dir); 68 namespace_init(pw->pw_dir);
69 syslog (LOG_INFO, "User '%s' logged in", username); 69 syslog (LOG_INFO, "User '%s' logged in", username);
70 return 0; 70 return 0;
71 } 71 }
72 72
73 return util_finish (command, RESP_NO, 73 return util_finish (command, RESP_NO,
......