Add a couple of missing return values
[u/mdw/putty] / raw.c
diff --git a/raw.c b/raw.c
index 52e4b06..4bed83c 100644 (file)
--- 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);