Re: [EXIM] typo in 2.952 filter.c ?

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Philip Hazel
Data:  
Para: James FitzGibbon
CC: exim-users
Assunto: Re: [EXIM] typo in 2.952 filter.c ?
On Tue, 4 May 1999, James FitzGibbon wrote:

> Is is just me, or is this a typo ? :
>
> filter.c:2246
>
> *error_pointer = string_sprintf("Bad time value for \"once_repeat" "
> in mail or vacation command: %s\n",
> commands->args[mailarg_index_once_repeat]);
>
> Unless I'm being stupid, shouldn't it look like this ?
>
> *error_pointer = string_sprintf("Bad time value for \"once_repeat\" "
> "in mail or vacation command: %s\n",
> commands->args[mailarg_index_once_repeat]);


You are quite right, thanks. It is a typo and should be as you suggest.

> Compilation fails with the first block and succeeds with the second one...


It didn't fail for me (gcc version 2.6.3 on Solaris 2.5.1), which is why
I didn't notice! Apparently gcc doesn't balk at newlines inside quotes.

-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.



--
*** Exim information can be found at http://www.exim.org/ ***