X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/5471d09ad63fc6216fb9c2a3b52ca9c93821a054..dfca2656cd4ff9f9cad27ddd418383949a729e65:/raw.c diff --git a/raw.c b/raw.c index 52e4b06c..4bed83cd 100644 --- a/raw.c +++ b/raw.c @@ -89,9 +89,8 @@ static char *raw_init(char *host, int port, char **realhost) */ static int raw_send(char *buf, int len) { - if (s == NULL) - return; + return 0; raw_bufsize = sk_write(s, buf, len);