httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pque...@apache.org
Subject svn commit: r729547 - /httpd/mod_mbox/trunk/module-2.0/mod_mbox_out.c
Date Fri, 26 Dec 2008 22:34:58 GMT
Author: pquerna
Date: Fri Dec 26 14:34:57 2008
New Revision: 729547

URL: http://svn.apache.org/viewvc?rev=729547&view=rev
Log:
Include the Subject in the title when viewing a single message.

Modified:
    httpd/mod_mbox/trunk/module-2.0/mod_mbox_out.c

Modified: httpd/mod_mbox/trunk/module-2.0/mod_mbox_out.c
URL: http://svn.apache.org/viewvc/httpd/mod_mbox/trunk/module-2.0/mod_mbox_out.c?rev=729547&r1=729546&r2=729547&view=diff
==============================================================================
--- httpd/mod_mbox/trunk/module-2.0/mod_mbox_out.c (original)
+++ httpd/mod_mbox/trunk/module-2.0/mod_mbox_out.c Fri Dec 26 14:34:57 2008
@@ -1142,7 +1142,7 @@
     ap_rputs(" <head>\n", r);
     ap_rputs("  <meta http-equiv=\"Content-Type\" "
 	     "content=\"text/html; charset=utf-8\" />\n", r);
-    ap_rputs("  <title>Mailing list archives</title>\n", r);
+    ap_rprintf(r, "  <title>%s</title>\n", ESCAPE_OR_BLANK(r->pool, m->subject));
 
     if (conf->style_path) {
         ap_rprintf(r, "   <link rel=\"stylesheet\" type=\"text/css\" href=\"%s\" />\n",



Mime
View raw message