Removed the unused second argument from the do_template() macro
[citadel.git] / webcit / listsub.c
index 05038e277ec7af49b0e80f68eca80cd893c9ba4c..0560d524879491dd8a12fc3c4ba377e9348a471a 100644 (file)
@@ -1,5 +1,21 @@
 /*
  * Web forms for handling mailing list subscribe/unsubscribe requests.
+ *
+ * Copyright (c) 1996-2011 by the citadel.org team
+ *
+ * This program is open source software.  You can redistribute it and/or
+ * modify it under the terms of the GNU General Public License as
+ * published by the Free Software Foundation; either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  */
 
 #include "webcit.h"
@@ -46,9 +62,9 @@ void do_listsub(void)
        wc_printf("<div align=center>");
        wc_printf("<table border=0 width=75%%><tr><td>");
 
-       do_template("beginbox_1", NULL);
+       do_template("beginbox_1");
        StrBufAppendBufPlain(WC->WBuf, _("List subscribe/unsubscribe"), -1, 0);
-       do_template("beginbox_2", NULL);
+       do_template("beginbox_2");
        wc_printf("<div align=center><br>");
 
        /*
@@ -214,7 +230,7 @@ FORM:               wc_printf("<form method=\"POST\" action=\"listsub\">\n");
        }
 
        wc_printf("</div>");
-       do_template("endbox", NULL);
+       do_template("endbox");
        wc_printf("</td></tr></table></div>");
 
        wc_printf("</BODY></HTML>\n");