[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Patch: smtpserver/smtpauth.c



On Mon, Nov 15, 2004 at 11:58:42PM +0000, Darryl L. Miles wrote:
> This data does not display correctly in my logfile, there is a character 
> 0xb4 before the %s.  I'm not sure if my patch preserves that.

iso-latin-1 or some such is needed to see it..
This diff didn't show it, but I found it manually.

To get some free time to do further code evolution...
(production xmas quiet begins about 2 weeks before xmas,
then I do have time...)

> diff -u -r1.32 smtpauth.c
> --- smtpserver/smtpauth.c       20 Aug 2004 13:40:06 -0000      1.32
> +++ smtpserver/smtpauth.c       15 Nov 2004 23:55:41 -0000
> @@ -389,9 +389,9 @@
>               type(SS, 0, NULL, "-> %s", bbuf);
> 
>             if (tls_loglevel > 3)
> -             type(NULL,0,NULL,"zpwmatch: user %s' password '%s'", uname, bbuf);
> +             type(NULL,0,NULL,"zpwmatch: user '%s' password '%s'", uname, bbuf);
>             else if (tls_loglevel > 0)
> -             type(NULL,0,NULL,"zpwmatch: user %s' (password: *not so easy*!)", uname);
> +             type(NULL,0,NULL,"zpwmatch: user '%s' (password: *not so easy*!)", uname);
> 
>             if (smtpauth_via_pipe)
>               zpw = pipezpwmatch(smtpauth_via_pipe, uname, bbuf, &uid);
> -- 
> Darryl L. Miles

-- 
/Matti Aarnio	<mea@nic.funet.fi>
-
To unsubscribe from this list: send the line "unsubscribe zmailer" in
the body of a message to majordomo@nic.funet.fi