X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/21d2b241875c072a8700e838ae0da677a7b9d428..4044fc45ca4a742c0ff29a49faca7cc9db99b251:/putty.h diff --git a/putty.h b/putty.h index 12944ed0..28320de0 100644 --- a/putty.h +++ b/putty.h @@ -371,9 +371,10 @@ struct config_tag { }; /* - * You can compile with -DSSH_DEFAULT to have ssh by default. + * You can compile with -DTELNET_DEFAULT to have telnet by default + * (otherwise SSH is the default). */ -#ifndef SSH_DEFAULT +#ifdef TELNET_DEFAULT #define DEFAULT_PROTOCOL PROT_TELNET #define DEFAULT_PORT 23 #else @@ -493,8 +494,8 @@ void registry_cleanup(void); * which I can reliably set aside to indicate `nil'. The string * function is perfectly all right returning NULL, of course.) */ -char *platform_default_s(char *name); -int platform_default_i(char *name, int def); +char *platform_default_s(const char *name); +int platform_default_i(const char *name, int def); /* * Exports from terminal.c.