Changeset 4546:4988fa232629 in nginx


Ignore:
Timestamp:
03/19/12 14:57:29 (8 years ago)
Author:
Maxim Konovalov <maxim@…>
Branch:
default
Phase:
public
Convert:
svn:c3fe7df1-7212-e011-8a91-001109144009/trunk@4547
Message:

For the sake of case/switch code readability, 'fall through'
comments added.

Location:
src/http
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/http/ngx_http_parse.c

    r4530 r4546  
    11541154            case '+':
    11551155                r->plus_in_uri = 1;
     1156                /* fall through */
    11561157            default:
    11571158                *u++ = ch;
  • src/http/ngx_http_upstream.c

    r4499 r4546  
    33133313        case 0:
    33143314            u->cacheable = 0;
     3315            /* fall through */
     3316
    33153317        case NGX_ERROR:
    33163318            return NGX_OK;
     
    44614463        ngx_conf_log_error(NGX_LOG_EMERG, cf, 0,
    44624464                           "invalid address \"%V\"", &value[1]);
     4465        /* fall through */
     4466
    44634467    default:
    44644468        return NGX_CONF_ERROR;
Note: See TracChangeset for help on using the changeset viewer.