Changeset 3e39e0360746c88b3b9df5bc1efbd6560a8a9939

Show
Ignore:
Timestamp:
05/22/09 15:38:21 (5 years ago)
Author:
Theo Schlossnagle <jesus@omniti.com>
git-committer:
Theo Schlossnagle <jesus@omniti.com> 1243006701 +0000
git-parent:

[b289e2793d1c1ab14a2a950d73400da3d04fc6b1]

git-author:
Theo Schlossnagle <jesus@omniti.com> 1243006701 +0000
Message:

fixes #133

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/modules/http.c

    r88a7178 r3e39e03  
    203203  duration_ms = current.duration; 
    204204  current.available = (ci->timed_out || !ci->status.code) ? NP_UNAVAILABLE : NP_AVAILABLE; 
    205   current.state = (ci->status.code != 200) ? NP_BAD : NP_GOOD; 
     205  current.state = (ci->status.code != expect_code) ? NP_BAD : NP_GOOD; 
    206206  current.status = human_buffer; 
    207207  if(current.available == NP_AVAILABLE) {