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 <[email protected]>
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
['"[email protected]" <[email protected]>'].