Yahoo Groups archive

Milter-greylist

Index last updated: 2026-04-13 23:57 UTC

Message

RE: [milter-greylist] ignoring message beyond maxpeek

2016-12-01 by Bruncsak, Attila

> > After some debugging I figured out where was this coming from.
> > On the mean time I fixed the type of priv->priv_maxpeek,
> > which should be size_t and not int.
> 
> The printf should use %zu now, but that is C99 syntax. How compatible is
> it with various systems that build milter-greylist?
> 

This change wasn't from the printf(),
rather from assignments to that variable
which already has the type size_t:

priv->priv_maxpeek = conf.c_maxpeek;
in milter-greylist.c
where:
 size_t c_maxpeek;
in conf.h

The other option would be to change
c_maxpeek to have type int.

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.