1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-06-30 19:12:48 -05:00

config.c: loop over backends list for protocol selector.

Similarly to the previous commit, this is one fewer place where I need
to make a handwritten change with each new protocol.
This commit is contained in:
Simon Tatham
2020-02-22 14:00:23 +00:00
parent bd16a0e1de
commit 1f399bec58
4 changed files with 31 additions and 50 deletions

View File

@ -368,7 +368,8 @@ enum {
PROT_RAW, PROT_TELNET, PROT_RLOGIN, PROT_SSH,
/* PROT_SERIAL is supported on a subset of platforms, but it doesn't
* hurt to define it globally. */
PROT_SERIAL
PROT_SERIAL,
PROTOCOL_LIMIT, /* upper bound on number of protocols */
};
enum {