Commit aeadeac2 authored by Niels Möller's avatar Niels Möller
Browse files

* src/tcpforward_commands.c (forward_local_port): Use

CAST_SUBTYPE() rather than CAST().

Rev: src/tcpforward_commands.c:1.4
parent a838e812
......@@ -359,7 +359,8 @@ struct command *forward_local_port(struct io_backend *backend,
struct address_info *local,
struct address_info *target)
{
CAST(command, res, make_forward_local_port(backend, local, target));
CAST_SUBTYPE(command, res,
make_forward_local_port(backend, local, target));
return res;
}
......
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