projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added a note about formataddr(), because this had confused me.
[mmh]
/
uip
/
replsbr.c
diff --git
a/uip/replsbr.c
b/uip/replsbr.c
index
907465e
..
624ffd6
100644
(file)
--- a/
uip/replsbr.c
+++ b/
uip/replsbr.c
@@
-67,7
+67,7
@@
static void replfilter(FILE *, FILE *, char *);
void
replout(FILE *inb, char *msg, char *drft, struct msgs *mp,
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;
{
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 = "";
}
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)
if ((cp = getenv("USER"))) {
FINDCOMP(cptr, "user");
if (cptr)
@@
-265,7
+259,7
@@
finished:
snprintf(buffer, sizeof buffer, "+%s %s",
mp->foldpath, m_name(mp->lowsel));
snprintf(buffer, sizeof buffer, "+%s %s",
mp->foldpath, m_name(mp->lowsel));
- annotate(drft, attach_hdr, buffer, 1, 0, -2, 1);
+ annotate(drft, attach_hdr, buffer, 0, -2, 1);
}
/* return dynamically allocated buffers */
}
/* return dynamically allocated buffers */
@@
-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.
** 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)
*/
char *
formataddr(char *orig, char *str)