mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-05-30 08:20:28 -05:00
Make sure the default protocol doesn't ever end up undefined in Plink.
[originally from svn r1140]
This commit is contained in:
parent
7b7ec7e72e
commit
865760106f
6
plink.c
6
plink.c
@ -289,6 +289,12 @@ int main(int argc, char **argv)
|
|||||||
|
|
||||||
sklist = NULL;
|
sklist = NULL;
|
||||||
skcount = sksize = 0;
|
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;
|
flags = FLAG_STDERR;
|
||||||
/*
|
/*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user