Changeset 4ff9608cdb1365ae2aa16b1e63e8fbcb4495b685

Show
Ignore:
Timestamp:
09/29/09 02:55:59 (5 years ago)
Author:
Theo Schlossnagle <jesus@omniti.com>
git-committer:
Theo Schlossnagle <jesus@omniti.com> 1254192959 +0000
git-parent:

[60094181c3ec47eb97e0989cc0682715e347a4dc]

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

the code is a number, make it so

Files:

Legend:

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

    ra1cce74 r4ff9608  
    5656    self.protocol, self.code = string.match(str, "^HTTP/(%d.%d)%s+(%d+)%s+") 
    5757    if self.protocol == nil then error("malformed HTTP response") end 
     58    self.code = tonumber(self.code) 
    5859    self.headers = {} 
    5960    while true do