Commit 2b891f5e authored by Matt Johnston's avatar Matt Johnston

listenaddr must be malloced

parent 01bde8ff
......@@ -199,7 +199,7 @@ static int svr_remotetcpreq() {
}
else
{
tcpinfo->listenaddr = request_addr;
tcpinfo->listenaddr = m_strdup(request_addr);
}
ret = listen_tcpfwd(tcpinfo);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment