From cb1744c5ddd08593ec2e5370a4d6a9c625fda794 Mon Sep 17 00:00:00 2001
From: pixel <pixel>
Date: Fri, 12 Oct 2007 13:04:38 +0000
Subject: Adding the missing (?!!) 'domain' variable.

---
 lib/LuaHttp.cc | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

(limited to 'lib')

diff --git a/lib/LuaHttp.cc b/lib/LuaHttp.cc
index 3324dff..375de3e 100644
--- a/lib/LuaHttp.cc
+++ b/lib/LuaHttp.cc
@@ -17,7 +17,7 @@
  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 
-/* $Id: LuaHttp.cc,v 1.22 2007-09-28 09:23:36 pixel Exp $ */
+/* $Id: LuaHttp.cc,v 1.23 2007-10-12 13:04:38 pixel Exp $ */
 
 #include "Domain.h"
 #include "LuaHttp.h"
@@ -203,6 +203,8 @@ int sLua_HttpResponse::HttpResponse_proceed(Lua * L, int n, HttpResponse * res,
             L->push(res->mime_type);
         } else if (i == "location") {
             L->push(res->location);
+        } else if (i == "domain") {
+            L->push(res->domain);
         } else if (i == "server_name") {
             L->push(res->server_name);
         } else if (i == "return_code") {
@@ -227,6 +229,8 @@ int sLua_HttpResponse::HttpResponse_proceed(Lua * L, int n, HttpResponse * res,
             res->mime_type = L->tostring(3);
         } else if (i == "location") {
             res->location = L->tostring(3);
+        } else if (i == "domain") {
+            res->domain = L->tostring(3);
         } else if (i == "server_name") {
             res->server_name = L->tostring(3);
         } else if (i == "return_code") {
-- 
cgit v1.2.3