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

errormail patch



Greetings,

	Dont know if anyone uses ADR directive in forms, but
there is a bug in errormail.c regarding it:

RCS file: RCS/errormail.c,v
retrieving revision 1.1
diff -c -r1.1 errormail.c
*** 1.1 1997/12/03 13:37:53
--- errormail.c 1997/12/03 13:38:28
***************
*** 212,219 ****
          if (s == NULL)
            return; /* No trailing '>' ? BAD BAD! */
          fprintf(mfp,"todsn NOTIFY=NEVER ORCPT=rfc822;");
!         encodeXtext(mfp, buf, (int)(s - 1 - buf));
!         fprintf(mfp,"\nto <%.*s>\n",(int)(s - 1 - buf), buf);
        } else {
          /*  Cc: some-address  */
          fprintf(mfp,"todsn NOTIFY=NEVER ORCPT=rfc822;");
--- 212,219 ----
          if (s == NULL)
            return; /* No trailing '>' ? BAD BAD! */
          fprintf(mfp,"todsn NOTIFY=NEVER ORCPT=rfc822;");
!         encodeXtext(mfp, buf, (int)(s - buf));
!         fprintf(mfp,"\nto <%.*s>\n",(int)(s - buf), buf);
        } else {
          /*  Cc: some-address  */
          fprintf(mfp,"todsn NOTIFY=NEVER ORCPT=rfc822;");

							alexis
-- 
			Where the wild horses run