1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-05-28 15:24:49 -05:00

Make sure the default protocol doesn't ever end up undefined in Plink.

[originally from svn r1140]
This commit is contained in:
Simon Tatham 2001-05-19 15:59:02 +00:00
parent 7b7ec7e72e
commit 865760106f

View File

@ -289,6 +289,12 @@ int main(int argc, char **argv)
sklist = NULL;
skcount = sksize = 0;
/*
* Initialise port and protocol to sensible defaults. (These
* will be overridden by more or less anything.)
*/
default_protocol = PROT_SSH;
default_port = 22;
flags = FLAG_STDERR;
/*