diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2008-06-26 18:42:28 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2008-06-26 18:42:28 +0000 |
commit | 6ce3d85076203e83c5310fe034c276a1e493433c (patch) | |
tree | cd649eb3c3d62a2a0f64e4f0b459aff6c065a580 /libs/http | |
parent | 5c5bbf9c5068be721d5f8bb54b1d82982c465e98 (diff) |
* libs/http: removed debugging prints from http.protocol.date
Diffstat (limited to 'libs/http')
-rw-r--r-- | libs/http/luasrc/http/protocol/date.lua | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/libs/http/luasrc/http/protocol/date.lua b/libs/http/luasrc/http/protocol/date.lua index b9b55cc33d..d403604945 100644 --- a/libs/http/luasrc/http/protocol/date.lua +++ b/libs/http/luasrc/http/protocol/date.lua @@ -151,8 +151,6 @@ end -- Convert a HTTP date to unixtime function to_unix(date) - print("D: "..date) - local wd, day, mon, yr, hr, min, sec, tz = date:match( "([A-Z][a-z][a-z]), ([0-9]+) " .. "([A-Z][a-z][a-z]) ([0-9]+) " .. @@ -160,10 +158,7 @@ function to_unix(date) "([A-Z0-9%+%-]+)" ) - print(day .. " | " .. mon .. " | " .. yr .. " | " .. tz) - if day and mon and yr and hr and min and sec then - -- find month local month = 1 for i = 1, 12 do |