X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/putty/blobdiff_plain/4ba9b64bfae2a77b1c8376d027f26e172ec1412d..f78051a1611e9ad31b29b40f55e6daa53dbb65b1:/ssh.c diff --git a/ssh.c b/ssh.c index 26379e12..d2eb302c 100644 --- a/ssh.c +++ b/ssh.c @@ -2680,7 +2680,7 @@ static char *ssh_init (char *host, int port, char **realhost) { * Called to send data down the Telnet connection. */ static void ssh_send (char *buf, int len) { - if (s == NULL) + if (s == NULL || ssh_protocol == NULL) return; ssh_protocol(buf, len, 0);