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 2016/10/11 17:51:21 UTC
[trafficserver] branch master updated: lua: initialize optional
argument values.
This is an automated email from the ASF dual-hosted git repository.
jpeach pushed a commit to branch master
in repository https://git-dual.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/master by this push:
new b780e01 lua: initialize optional argument values.
b780e01 is described below
commit b780e0157b263da76fe0419edf060966d6cf0b8e
Author: James Peach <jp...@apache.org>
AuthorDate: Sat Oct 8 14:35:00 2016 -0700
lua: initialize optional argument values.
---
plugins/experimental/ts_lua/ts_lua_client_response.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/plugins/experimental/ts_lua/ts_lua_client_response.c b/plugins/experimental/ts_lua/ts_lua_client_response.c
index c8e45d8..36424ea 100644
--- a/plugins/experimental/ts_lua/ts_lua_client_response.c
+++ b/plugins/experimental/ts_lua/ts_lua_client_response.c
@@ -377,10 +377,10 @@ static int
ts_lua_client_response_set_error_resp(lua_State *L)
{
int n, status;
- const char *body;
+ const char *body = NULL;
+ size_t body_len = 0;
const char *reason;
int reason_len;
- size_t body_len;
int resp_len;
char *resp_buf;
TSMLoc field_loc;
--
To stop receiving notification emails like this one, please contact
['"commits@trafficserver.apache.org" <co...@trafficserver.apache.org>'].