httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s.@apache.org
Subject svn commit: r1228388 - /httpd/mod_mbox/trunk/module-2.0/mbox_parse.c
Date Fri, 06 Jan 2012 20:41:40 GMT
Author: sf
Date: Fri Jan  6 20:41:40 2012
New Revision: 1228388

URL: http://svn.apache.org/viewvc?rev=1228388&view=rev
Log:
Fix error in r1226492 that could lead to a segfault

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

Modified: httpd/mod_mbox/trunk/module-2.0/mbox_parse.c
URL: http://svn.apache.org/viewvc/httpd/mod_mbox/trunk/module-2.0/mbox_parse.c?rev=1228388&r1=1228387&r2=1228388&view=diff
==============================================================================
--- httpd/mod_mbox/trunk/module-2.0/mbox_parse.c (original)
+++ httpd/mod_mbox/trunk/module-2.0/mbox_parse.c Fri Jan  6 20:41:40 2012
@@ -831,7 +831,7 @@ apr_status_t mbox_generate_index(request
                     }
                     /* Some old clients only sent 'text',
                      * instead of 'text/plain'. Lets try to be nice to them */
-                    if (!strcasecmp(msgc.content_type, "text")) {
+                    if (!strcasecmp(dup, "text")) {
                         msgc.content_type = "text/plain";
                     }
                     else {



Mime
View raw message