--- help.c 2001/01/06 11:05:08 1.5
+++ help.c 2001/01/08 20:36:19 1.6
@@ -1,6 +1,6 @@
/*
$Source: /v/ossp/cvs/ossp-pkg/petidomo/help.c,v $
- $Revision: 1.5 $
+ $Revision: 1.6 $
Copyright (C) 2000 by CyberSolutions GmbH, Germany.
@@ -67,8 +67,7 @@
fprintf(fh, "Sender: %s\n", envelope);
fprintf(fh, "\n");
fprintf(fh, "Description of list \"%s\":\n\n", param1);
- buffer = text_easy_sprintf("lists/%s/description", param1);
- p = loadfile(buffer);
+ p = loadfile(ListConfig->desc_file);
if (p != NULL) {
fprintf(fh, "%s\n", p);
free(p);
@@ -136,7 +135,7 @@
fprintf(fh, "Precedence: junk\n");
fprintf(fh, "Sender: %s\n", envelope);
fprintf(fh, "\n");
- p = loadfile("etc/help");
+ p = loadfile(MasterConfig->help_file);
if (p != NULL) {
fprintf(fh, "%s\n", p);
free(p);
@@ -192,7 +191,7 @@
fprintf(fh, "Precedence: junk\n");
fprintf(fh, "Sender: %s\n", envelope);
fprintf(fh, "\n");
- p = loadfile("etc/help");
+ p = loadfile(MasterConfig->help_file);
if (p != NULL) {
fprintf(fh, "%s\n", p);
free(p);
|