* Added missing HTTP headers to do_chat()
authorArt Cancro <ajc@citadel.org>
Thu, 22 Dec 2005 17:08:05 +0000 (17:08 +0000)
committerArt Cancro <ajc@citadel.org>
Thu, 22 Dec 2005 17:08:05 +0000 (17:08 +0000)
webcit/ChangeLog
webcit/configure.in
webcit/paging.c

index c06d91b625a33f999d7ca7235dfd46179ea87595..7c9cd80b6f7656f9b74833588f94c244c555f199 100644 (file)
@@ -1,5 +1,8 @@
 $Id$
 
+Thu Dec 22 12:07:38 EST 2005 ajc
+* Added missing HTTP headers to do_chat()
+
 Wed Dec 21 10:22:51 EST 2005 ajc
 * configure.in: use different variable names for each AC_CHECK_PROG macro,
   because autoconf will see the same variable name as used before, pull some
index 07b75866f67f76e518f3726951a321ad0be8eb73..b7ec53f1840f898303030082d3fe515f2cbdedc3 100644 (file)
@@ -9,8 +9,8 @@ AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE")
 AC_DEFINE_UNQUOTED(VERSION, "$VERSION")
 AC_SUBST(PACKAGE)
 AC_SUBST(VERSION)
-AC_SUBST(PROG_SUBDIRS)
 
+AC_SUBST(PROG_SUBDIRS)
 AC_CANONICAL_HOST
 AC_PROG_INSTALL
 AC_CHECK_PROG(SED, sed, sed, no)
@@ -350,3 +350,9 @@ AC_SUBST(SETUP_LIBS)
 
 AC_OUTPUT(Makefile po/Makefile )
 
+echo ------------------------------------------------------------------------
+echo 'zlib compression:                ' $ok_zlib
+echo 'Calendar support:                ' $ok_libical
+echo 'Character set conversion support:' $ok_iconv
+echo 'National language support:       ' $ok_nls
+echo 
index 89cd5b04e1ec96ace7057c8a87a865f530122be0..c9d14b9272ccd34f9a70f0fa6f0bf016877b37d1 100644 (file)
@@ -138,9 +138,12 @@ void do_chat(void)
        }
 
        /* WebCit Chat works by having transmit, receive, and refresh
-        * frames.  Load the frameset.
+        * frames.  Load the frameset.  (This isn't AJAX but the headers
+        * output by begin_ajax_response() happen to be the ones we need.)
         */
+       begin_ajax_response();
        do_template("chatframeset");
+       end_ajax_response();
        return;
 }