From: Morten K. Poulsen Date: Wed, 14 Feb 2007 22:23:47 +0000 Subject: Re: mlmmj maxmailsize patch Message-Id: <8714694497d2f275e9309f0db2bdaf3b@mail.n0rd.dk> List-Id: References: <6171a10dca36fac0233ac365eec3e560@mail.n0rd.dk> In-Reply-To: <6171a10dca36fac0233ac365eec3e560@mail.n0rd.dk> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: mlmmj@mlmmj.org Sven 'Darkman' Michels wrote: > I still get nothing in the logs, but that may some other problem... [snip] > Please, someone with more mlmmj knowhow or even more c code knowhow, > take a look if thats okay. + if((st.st_size > maxmailsize)) { +#if 0 + log_error(LOG_ARGS, "%s is %d bytes too big.\n", + donemailname, + (st.st_size - maxmailsize)); +#endif The missing log entry might be because of the "#if 0" ;-) Otherwise, it looks ok. I will review it in depth and commit it "soon." Morten -- Morten K. Poulsen http://www.afdelingp.dk/