You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by jp...@apache.org on 2012/05/11 06:01:19 UTC
[18/32] git commit: LuaPushUrl returns bool
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/2c0436b4
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/2c0436b4
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/2c0436b4
Branch: refs/heads/jpeach/lua
Commit: 2c0436b432009b15b1c8677528e18baeee44c9e4
Parents: 6ce4503
Author: James Peach <jp...@apache.org>
Authored: Sat Apr 14 21:15:42 2012 -0700
Committer: James Peach <jp...@apache.org>
Committed: Thu May 10 20:23:42 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/2c0436b4/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/2c0436b4/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);