1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-04-10 07:38:06 -05:00

Add a couple of missing return values

[originally from svn r1214]
This commit is contained in:
Simon Tatham 2001-08-27 15:55:44 +00:00
parent 254f50974e
commit ac97a0cb1d
2 changed files with 2 additions and 4 deletions

3
raw.c
View File

@ -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);

View File

@ -137,9 +137,8 @@ static char *rlogin_init(char *host, int port, char **realhost)
*/
static int rlogin_send(char *buf, int len)
{
if (s == NULL)
return;
return 0;
rlogin_bufsize = sk_write(s, buf, len);