Messages with From: lines of the form
From: <Paul.Haldane_at_ncl.ac.uk>
don't show up very nicely in the index pages as we always use the
comment part of the line. I suggest the following which uses the email
address if no comment is provided.
Paul
e = (struct emailinfo *) emalloc(sizeof(struct emailinfo));
e->msgnum = num; - e->name = strsav(name); e->emailaddr = strsav(email);
/* fromdate may be empty (zero length string rather than NULL)
e = (struct emailinfo *) emalloc(sizeof(struct emailinfo));
e->msgnum = num;
e->emailaddr = strsav(email);
+ if ((name == NULL) || (*name == '\0')) + e->name = strsav(email); + else + e->name = strsav(name);
/* fromdate may be empty (zero length string rather than NULL)
This archive was generated by hypermail 2.2.0 : Thu 22 Feb 2007 07:33:50 PM GMT GMT