OSSP CVS Repository

ossp - Difference in ossp-pkg/petidomo/help.c versions 1.5 and 1.6
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/petidomo/help.c 1.5 -> 1.6

--- 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);

CVSTrac 2.0.1