[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-mailutils] imap4d: no transcript with --foreground
From: |
Simon Josefsson |
Subject: |
[bug-mailutils] imap4d: no transcript with --foreground |
Date: |
Thu, 24 Sep 2009 14:12:58 +0200 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/23.1 (gnu/linux) |
I see that 'imap4d_transcript' is set in 'imap4d_connection':
int
imap4d_connection (int fd, struct sockaddr *sa, int salen, void *data,
mu_ip_server_t srv, time_t timeout, int transcript)
{
idle_timeout = timeout;
imap4d_transcript = transcript;
However this function is not used when --foreground is used:
/* Actually run the daemon. */
if (mu_m_server_mode (server) == MODE_DAEMON)
{
mu_m_server_begin (server);
status = mu_m_server_run (server);
mu_m_server_end (server);
mu_m_server_destroy (&server);
}
else
{
/* Make sure we are in the root directory. */
chdir ("/");
status = imap4d_mainloop (fileno (stdin), stdin, stdout);
}
I'm not familiar enough with the mu_cfg stuff to know how to extract the
transcript variable from the parsed configuration. But it seems that
the last else-clause should set 'imap4d_transcript' if set in the
configuration file. Help?
/Simon
- [bug-mailutils] imap4d: no transcript with --foreground,
Simon Josefsson <=