trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jpe...@apache.org
Subject [21/50] git commit: LuaPushUrl returns bool
Date Tue, 12 Jun 2012 15:51:37 GMT
LuaPushUrl returns bool


Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/b70fc806
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/b70fc806
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/b70fc806

Branch: refs/heads/jpeach/lua
Commit: b70fc8066e34625b669078748c665ecec4b01d78
Parents: a33d013
Author: James Peach <jpeach@apache.org>
Authored: Sat Apr 14 21:15:42 2012 -0700
Committer: James Peach <jpeach@apache.org>
Committed: Tue Jun 12 08:48:35 2012 -0700

----------------------------------------------------------------------
 plugins/lua/lapi.cc |    2 +-
 plugins/lua/lapi.h  |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/b70fc806/plugins/lua/lapi.cc
----------------------------------------------------------------------
diff --git a/plugins/lua/lapi.cc b/plugins/lua/lapi.cc
index 457b327..6d1ac55 100644
--- a/plugins/lua/lapi.cc
+++ b/plugins/lua/lapi.cc
@@ -20,7 +20,7 @@
 #include <ts/remap.h>
 #include "lapi.h"
 
-int
+bool
 LuaPushUrl(lua_State * lua, TSMBuffer buffer, TSMLoc url)
 {
   int len;

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/b70fc806/plugins/lua/lapi.h
----------------------------------------------------------------------
diff --git a/plugins/lua/lapi.h b/plugins/lua/lapi.h
index cbd3448..03f9fc7 100644
--- a/plugins/lua/lapi.h
+++ b/plugins/lua/lapi.h
@@ -26,5 +26,5 @@ extern "C" {
 int LuaApiInit(lua_State * lua);
 
 // Push a copy of the given URL.
-int LuaPushUrl(lua_State * lua, TSMBuffer buffer, TSMLoc url);
+bool LuaPushUrl(lua_State * lua, TSMBuffer buffer, TSMLoc url);
 


Mime
View raw message