tags 369542 - patch
thanks
* Ben XO ([EMAIL PROTECTED]) [060530 08:08]:
> --- ssmtp-2.61/ssmtp.c 2004-07-23 06:58:48.000000000 +0100
> +++ ssmtp-2.61+auth_login_minus_v_patch/ssmtp.c 2006-05-05 20:26:07.000000000
> +0100
> @@ -1281,6 +1281,7 @@
> struct passwd *pw;
> int i, sock;
> uid_t uid;
> + bool_t minus_v_save;
>
> uid = getuid();
> if((pw = getpwuid(uid)) == (struct passwd *)NULL) {
> @@ -1381,7 +1382,13 @@
> #ifdef MD5AUTH
> }
> #endif
> + /* We do NOT want the password output to STDERR
> + * even base64 encoded.*/
> + minus_v_save = minus_v;
> + minus_v = False;
> smtp_write(sock, "%s", buf);
> + minus_v = minus_v_save;
> +
> (void)alarm((unsigned) MEDWAIT);
>
> if(smtp_okay(sock, buf) == False) {
>
unfortunatly, this patch doesn't apply cleanly in Debian.
Cheers,
Andi
--
http://home.arcor.de/andreas-barth/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]