Commit c01f5432 c01f543225e3031cdbf68f35a1c9b4cbd76697a8 by Sergey Poznyakoff

Register getpwnam_virtual for handling virtual domain authentication.

1 parent ddc1e76b
......@@ -143,7 +143,10 @@ main (int argc, char **argv)
#ifdef HAVE_MYSQL
mu_register_getpwnam (getMpwnam);
#endif
#ifdef USE_VIRTUAL_DOMAINS
mu_register_getpwnam (getpwnam_virtual);
#endif
/* Set the signal handlers. */
signal (SIGINT, imap4d_signal);
signal (SIGQUIT, imap4d_signal);
......
......@@ -132,6 +132,9 @@ main (int argc, char **argv)
#ifdef HAVE_MYSQL
mu_register_getpwnam (getMpwnam);
#endif
#ifdef USE_VIRTUAL_DOMAINS
mu_register_getpwnam (getpwnam_virtual);
#endif
/* Set the signal handlers. */
signal (SIGINT, pop3d_signal);
......