Re: [exim] Exim 4.77 RC3 uploaded

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Andreas Metzler
Date:  
À: exim-users
Sujet: Re: [exim] Exim 4.77 RC3 uploaded
Phil Pennock <pdp@???> wrote:
> I have uploaded Exim 4.77 RC3 to:
>        ftp://ftp.exim.org/pub/exim/exim4/test/

[...]

Hello,
There is a new compiler warning (compared to 4.76):
log.c:720:5: warning: format '%s' expects a matching 'char *' argument [-Wformat]

Looking at the code

  sprintf(CS ptr, "%s%s%s%s%s\n  ",
    ((flags & LOG_MAIN) != 0)?    " MAIN"   : "",
    ((flags & LOG_PANIC) != 0)?   " PANIC"  : "",
    ((flags & LOG_PANIC_DIE) == LOG_PANIC_DIE)? " DIE" : "",
    ((flags & LOG_REJECT) != 0)?  " REJECT" : "");


there seem to be 5 %s but only 4 arguments.
cu andreas