Changeset 61e91d7ff4f237358b7fb315cda4b370061326f0

Show
Ignore:
Timestamp:
07/25/12 19:18:46 (2 years ago)
Author:
Theo Schlossnagle <jesus@lethargy.org>
git-committer:
Theo Schlossnagle <jesus@lethargy.org> 1343243926 -0700
git-parent:

[2d127f75cf7a63e7d81f39371ed70b451b2e6597], [0184fd815ace8581ca975db9546fbe7aa74b7f62]

git-author:
Theo Schlossnagle <jesus@lethargy.org> 1343243926 -0700
Message:

Merge pull request #91 from pquerna/add_missing_local

http check: use a different variable name and add missing local.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/modules-lua/noit/module/http.lua

    r353258a r0184fd8  
    553553    has_body_matches = false 
    554554    for key, value in pairs(check.config) do 
    555       m = string.find(key, BODY_MATCHES_PREFIX) 
    556  
    557       if m == 1 then 
     555      local match = string.find(key, BODY_MATCHES_PREFIX) 
     556 
     557      if match == 1 then 
    558558        has_body_matches = true 
    559559        key = string.gsub(key, BODY_MATCHES_PREFIX, '')