Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r65465 - website/public_html/beta/common/code
From: dnljms_at_[hidden]
Date: 2010-09-19 13:38:31


Author: danieljames
Date: 2010-09-19 13:38:30 EDT (Sun, 19 Sep 2010)
New Revision: 65465
URL: http://svn.boost.org/trac/boost/changeset/65465

Log:
Missing 'break' in switch cases.
Text files modified:
   website/public_html/beta/common/code/boost_archive.php | 2 ++
   1 files changed, 2 insertions(+), 0 deletions(-)

Modified: website/public_html/beta/common/code/boost_archive.php
==============================================================================
--- website/public_html/beta/common/code/boost_archive.php (original)
+++ website/public_html/beta/common/code/boost_archive.php 2010-09-19 13:38:30 EDT (Sun, 19 Sep 2010)
@@ -161,11 +161,13 @@
         case 'application/xml-dtd':
             header('Expires: '.date(DATE_RFC2822, strtotime("+1 year")));
             header('Cache-Control: max-age=31556926'); // A year, give or take a day.
+ break;
         default:
             if($expires) {
                 header('Expires: '.date(DATE_RFC2822, strtotime($expires)));
                 header('Cache-Control: max-age='.strtotime($expires, 0));
             }
+ break;
     }
     
     return conditional_get(max(strtotime(BOOST_DOCS_MODIFIED_DATE), $last_modified));


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk