http.new_request: Don't ignore mutated variables url, data

pull/1289/head
Nick Treleaven 2019-07-13 13:10:15 +01:00 committed by Alexander Medvednikov
parent d72c859bf9
commit 6eb8766e59
1 changed files with 2 additions and 2 deletions

View File

@ -56,8 +56,8 @@ pub fn new_request(typ, _url, _data string) *Request {
// req.headers = new_map(0, sizeof(string))// []string{}
return &Request {
typ: typ
url: _url
data: _data
url: url
data: data
ws_func: 0
user_ptr: 0
headers: map[string]string{}