X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/68a49acbf3f96fbbbc385620655dcb577e62c328..b707973a228a7f7d7399b6113b7f78d6248a432d:/be_all.c diff --git a/be_all.c b/be_all.c index 96dac532..024a39e9 100644 --- a/be_all.c +++ b/be_all.c @@ -6,6 +6,22 @@ #include #include "putty.h" +/* + * This appname is not strictly in the right place, since Plink + * also uses this module. However, Plink doesn't currently use any + * of the dialog-box sorts of things that make use of appname, so + * it shouldn't do any harm here. I'm trying to avoid having to + * have tiny little source modules containing nothing but + * declarations of appname, for as long as I can... + */ +const char *const appname = "PuTTY"; + +#ifdef TELNET_DEFAULT +const int be_default_protocol = PROT_TELNET; +#else +const int be_default_protocol = PROT_SSH; +#endif + struct backend_list backends[] = { {PROT_SSH, "ssh", &ssh_backend}, {PROT_TELNET, "telnet", &telnet_backend},