From: Art Cancro Date: Wed, 16 Feb 2005 05:22:23 +0000 (+0000) Subject: * inetconf.c: fixed memory management problem that was causing all X-Git-Tag: v7.86~5047 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=7dbd4a1e78b9682e9df3389c611c3bac36c0a9c3 * inetconf.c: fixed memory management problem that was causing all the inetconf to get discarded during edit on IBM POWER5 --- diff --git a/webcit/ChangeLog b/webcit/ChangeLog index 441c846f2..95b15ab6f 100644 --- a/webcit/ChangeLog +++ b/webcit/ChangeLog @@ -1,4 +1,8 @@ $Log$ +Revision 602.1 2005/02/16 05:22:22 ajc +* inetconf.c: fixed memory management problem that was causing all + the inetconf to get discarded during edit on IBM POWER5 + Revision 602.0 2005/02/15 05:23:10 ajc * THIS IS 6.02 @@ -2358,4 +2362,3 @@ Sun Dec 6 19:50:55 EST 1998 Art Cancro 1998-12-03 Nathan Bryant * webserver.c: warning fix - diff --git a/webcit/inetconf.c b/webcit/inetconf.c index 49ca952c0..ff2c31432 100644 --- a/webcit/inetconf.c +++ b/webcit/inetconf.c @@ -80,13 +80,6 @@ void display_inetconf(void) } ic_misc = strdup(""); - output_headers(1, 1, 2, 0, 0, 0, 0); - wprintf("
\n"); - wprintf("
"); - wprintf("Internet configuration\n"); - wprintf("
\n"); - wprintf("
\n
\n"); - serv_printf("CONF GETSYS|application/x-citadel-internet-config"); serv_gets(buf); if (buf[0] == '1') while (serv_gets(buf), strcmp(buf, "000")) { @@ -113,7 +106,14 @@ void display_inetconf(void) } - wprintf("
\n"); + output_headers(1, 1, 2, 0, 0, 0, 0); + wprintf("
\n"); + wprintf("
"); + wprintf("Internet configuration\n"); + wprintf("
\n"); + wprintf("
\n
\n"); + + wprintf("
\n"); for (which=0; which"); @@ -148,8 +148,7 @@ void display_inetconf(void) "
\n"); do_template("endbox"); } - wprintf("
\n"); - + wprintf("\n"); wDumpContent(1); for (i=0; iMaximum concurrent sessions"); + wprintf("Maximum concurrent sessions (0 = no limit)"); wprintf("", buf); wprintf("\n"); }