Commit a7a6140c a7a6140c5aefec6365e2c19dfe88ae2518c4a744 by Sergey Poznyakoff

Removed call to mu_normalize_maildir.

1 parent 426d3e4e
......@@ -128,13 +128,6 @@ main(int argc, char **argv)
mu_create_argcv (argc, argv, &argc, &argv);
argp_parse (&argp, argc, argv, 0, 0, &daemon_param);
maildir = mu_normalize_maildir (maildir);
if (!maildir)
{
mu_error ("Badly formed maildir: %s", maildir);
exit (1);
}
if (daemon_param.timeout > 0 && daemon_param.mode == MODE_DAEMON)
{
fprintf (stderr, "--timeout and --daemon are incompatible\n");
......
......@@ -99,13 +99,6 @@ main (int argc, char **argv)
mu_create_argcv (argc, argv, &argc, &argv);
argp_parse (&argp, argc, argv, 0, 0, &daemon_param);
maildir = mu_normalize_maildir (maildir);
if (!maildir)
{
mu_error ("Badly formed maildir: %s", maildir);
exit (1);
}
#ifdef USE_LIBPAM
if (!pam_service)
pam_service = "gnu-imap4d";
......
......@@ -168,6 +168,7 @@ main (int argc, char *argv[])
close_fds ();
umask (0077);
mu_argp_error_code = EX_CONFIG;
mu_create_argcv (argc, argv, &argc, &argv);
argp_parse (&argp, argc, argv, 0, &arg_index, NULL);
......@@ -185,13 +186,6 @@ main (int argc, char *argv[])
return EX_USAGE;
}
maildir = mu_normalize_maildir (maildir);
if (!maildir)
{
mu_error ("Badly formed maildir: %s", maildir);
return EX_CONFIG;
}
#ifdef HAVE_MYSQL
mu_register_getpwnam (getMpwnam);
mu_register_getpwuid (getMpwuid);
......
......@@ -65,13 +65,6 @@ main (int argc, char **argv)
mu_create_argcv (argc, argv, &argc, &argv);
argp_parse (&argp, argc, argv, 0, 0, &daemon_param);
maildir = mu_normalize_maildir (maildir);
if (!maildir)
{
mu_error ("Badly formed maildir: %s", maildir);
exit (1);
}
#ifdef USE_LIBPAM
if (!pam_service)
pam_service = "gnu-pop3d";
......