--- index.c 2000/12/15 16:16:07 1.4
+++ index.c 2001/01/06 11:05:08 1.5
@@ -1,6 +1,6 @@
/*
$Source: /v/ossp/cvs/ossp-pkg/petidomo/index.c,v $
- $Revision: 1.4 $
+ $Revision: 1.5 $
Copyright (C) 2000 by CyberSolutions GmbH, Germany.
@@ -65,7 +65,7 @@
}
fprintf(fh, "From: %s (Petidomo Mailing List Server)\n", from);
fprintf(fh, "To: %s\n", address);
- fprintf(fh, "Subject: Your request \"index\"\n");
+ fprintf(fh, "Subject: Petidomo: Your request \"index\"\n");
if (MailStruct->Message_Id != NULL)
fprintf(fh, "In-Reply-To: %s\n", MailStruct->Message_Id);
fprintf(fh, "Precedence: junk\n");
@@ -112,17 +112,17 @@
}
if (ListConfig->allowpubsub == TRUE) {
if (ListConfig->listtype == LIST_MODERATED)
- fprintf(fh, "moderated mailing list\n");
+ fprintf(fh, "(moderated mailing list)\n");
else
- fprintf(fh, "public mailing list\n");
+ fprintf(fh, "(public mailing list)\n");
}
else
- fprintf(fh, "closed mailing list\n");
+ fprintf(fh, "(closed mailing list)\n");
buffer = text_easy_sprintf("lists/%s/description", entry->d_name);
description = loadfile(buffer);
if (description == NULL) {
- fprintf(fh, "\tno description available\n\n");
+ fprintf(fh, " no description available\n\n");
continue;
}
@@ -130,7 +130,7 @@
nextLine = text_find_next_line(currLine);
if (nextLine[-1] == '\n')
nextLine[-1] = '\0';
- fprintf(fh, "\t%s\n", currLine);
+ fprintf(fh, " %s\n", currLine);
}
fprintf(fh, "\n");
free(description);
|