Added a note about formataddr(), because this had confused me.
[mmh] / uip / replsbr.c
index fbf31c7..624ffd6 100644 (file)
@@ -67,7 +67,7 @@ static void replfilter(FILE *, FILE *, char *);
 
 void
 replout(FILE *inb, char *msg, char *drft, struct msgs *mp,
-       int mime, char *form, char *filter, char *fcc)
+       int mime, char *form, char *filter)
 {
        register int state, i;
        register struct comp *cptr;
@@ -127,12 +127,6 @@ replout(FILE *inb, char *msg, char *drft, struct msgs *mp,
                if (cptr)
                        cptr->c_name = "";
        }
-       /* set up the "fcc" pseudo-component */
-       if (fcc) {
-               FINDCOMP(cptr, "fcc");
-               if (cptr)
-                       cptr->c_text = getcpy(fcc);
-       }
        if ((cp = getenv("USER"))) {
                FINDCOMP(cptr, "user");
                if (cptr)
@@ -314,6 +308,9 @@ static unsigned int bufsiz=0;  /* current size of buf */
 ** We try to not do a lot of malloc/copy/free's (which is why we
 ** don't call "getcpy") but still place no upper limit on the
 ** length of the result string.
+**
+** This routine is an override for the equally named one in sbr/fmt_addr.c.
+** Don't delete it!
 */
 char *
 formataddr(char *orig, char *str)