Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #114 from monadbobo/master

remove some dead assignment
  • Loading branch information...
commit 57a189a55218c36c5fec88a9e94da155da1e8735 2 parents e841106 + 8e2e4a9
@chaoslawful chaoslawful authored
View
2  src/ngx_http_lua_control.c
@@ -193,7 +193,7 @@ ngx_http_lua_ngx_exec(lua_State *L)
q = ngx_copy(p, args.data, args.len);
*q++ = '&';
- q = ngx_copy(q, user_args.data, user_args.len);
+ ngx_memcpy(q, user_args.data, user_args.len);
args.data = p;
args.len += user_args.len + 1;
View
2  src/ngx_http_lua_headers_in.c
@@ -491,8 +491,6 @@ ngx_http_lua_rm_header_helper(ngx_list_t *l, ngx_list_part_t *cur,
l->last = new;
}
- cur = new;
-
return NGX_OK;
}
View
2  src/ngx_http_lua_subrequest.c
@@ -454,7 +454,7 @@ ngx_http_lua_ngx_location_capture_multi(lua_State *L)
q = ngx_copy(p, args.data, args.len);
*q++ = '&';
- q = ngx_copy(q, extra_args.data, extra_args.len);
+ ngx_memcpy(q, extra_args.data, extra_args.len);
args.data = p;
args.len = len;
Please sign in to comment.
Something went wrong with that request. Please try again.