summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sfeed_mbox.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfeed_mbox.c b/sfeed_mbox.c
index b1224c6..e3a5a6f 100644
--- a/sfeed_mbox.c
+++ b/sfeed_mbox.c
@@ -47,7 +47,7 @@ printfeed(FILE *fp, const char *feedname)
/* mbox + mail header */
printf("From MAILER-DAEMON %s\n", mtimebuf);
printf("Date: %s\n", timebuf);
- printf("From: %s <sfeed@>\n", fields[FieldAuthor][0] ? fields[FieldAuthor] : "unknown");
+ printf("From: %s <sfeed@>\n", fields[FieldAuthor][0] ? fields[FieldAuthor] : feedname);
printf("To: %s <%s@%s>\n", user, user, host);
printf("Subject: %s\n", fields[FieldTitle]);
printf("Message-ID: <%s%s%lu@%s>\n",