Hi,

On Sun, Jan 10, 2010 at 06:02:03PM +0900, Ansgar Burchardt wrote:
> it seems this issue is not completely fixed in 1.2.15-1.  The patch
> to src/subscriberfuncs.c has been applied, but not the (identical)
> change to src/getaddrsfromfd.c.

Right -- the fix for getaddrsfromfd() has not been applied in 1.2.15.

> Upstream version 1.2.17-RC1 has changed the code in the latter as well,
> but for some reason it returns 0 in case the size is 0 instead of -1 as
> for all other error conditions and as the case is handled in the former
> file.  This might be a bug upstream?

There are two places in which this function is used (once in send_mail_
many_fd() and main() in src/mlmmj-send.c). In both places, the caller
checks for the return value being greater than (not equal to) zero. So,
(in 1.2.15 and 1.2.17RC2) returning 0 is semantically equivalent to
returning -1. Anyway, I'm gonna talk to upstream whether this is really
the way it's intended.

Cheers,
Sebastian

-- 
Sebastian "tokkee" Harl +++ GnuPG-ID: 0x8501C7FC +++ http://tokkee.org/

Those who would give up Essential Liberty to purchase a little Temporary
Safety, deserve neither Liberty nor Safety.         -- Benjamin Franklin

Attachment: signature.asc
Description: Digital signature

Reply via email to