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

* src/gateway_channel.c (do_gateway_channel_request): First

argument to COMMAND_CALL must not have side effects.
(do_channel_open_forward): Likewise.
* src/lsh.c (do_options2identities): Likewise.

Rev: src/lsh.c:1.133
parent 2501e781
......@@ -266,11 +266,13 @@ do_options2identities(struct command *ignored UNUSED,
COMMAND_RETURN(c, make_object_list(0, -1));
}
else
COMMAND_CALL(make_spki_read_userkeys(options->algorithms->algorithms,
options->signature_algorithms,
options->super.tty),
f, c, e);
{
struct command *command
= make_spki_read_userkeys(options->algorithms->algorithms,
options->signature_algorithms,
options->super.tty);
COMMAND_CALL(command, f, c, e);
}
lsh_string_free(tmp);
}
......
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