Hi,
it's fixed in CVS. Thanks for the report, Jesse.
For people who are wondering why I've been so quiet yesterday and
today: I'm ill at home, again. I'm already feeling quite a lot better
today (not too much of a headache), so I'll try to do some work on
DBMail.
Ilja
On Thu, 9 Sep 2004 12:45:51 -0600 (MDT), Jesse Norell <[EMAIL PROTECTED]>
wrote:
>
> Hello,
>
> We get lines like these in logs from the pgsql dbmail:
>
> dbmail/smtp[5261]: db_check_sizelimit(): checking mailbox [xi^G^H1]
>
> That last "1" happens to be the mailbox id it's checking, and
> is consistently so, but is just coincidence from where stuff
> lies in memory. This fixes it:
>
> --- dbmail_1_2-20040909/pgsql/dbpgsql.c 2004-03-23 02:04:38.000000000 -0700
> +++ dbmail_1_2-20040909.fix/pgsql/dbpgsql.c 2004-09-09 12:30:41.000000000
> -0600
> @@ -1244,8 +1244,8 @@
>
> for (PQcounter = 0; PQcounter < PQntuples (res); PQcounter++)
> {
> - trace (TRACE_DEBUG,"db_check_sizelimit(): checking mailbox
> [%s]\n",value);
> value = PQgetvalue (res, PQcounter, 0);
> + trace (TRACE_DEBUG,"db_check_sizelimit(): checking mailbox
> [%s]\n",value);
>
> n = value ? strtoull(value, NULL, 10) : 0;
> j = db_check_mailboxsize(n);
>
> Thanks,
> Jesse
>
> --
> Jesse Norell
>
> [EMAIL PROTECTED] is not my email address;
> change "administrator" to my first name.
> --
>
> _______________________________________________
> Dbmail-dev mailing list
> [email protected]
> http://twister.fastxs.net/mailman/listinfo/dbmail-dev
>