Skip to content
This repository has been archived by the owner on Apr 19, 2024. It is now read-only.

Commit

Permalink
Add a couple of missing return values
Browse files Browse the repository at this point in the history
git-svn-id: svn://svn.tartarus.org/sgt/putty@1214 cda61777-01e9-0310-a592-d414129be87e
  • Loading branch information
simon committed Aug 27, 2001
1 parent 724cfac commit b5a460c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions raw.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down
3 changes: 1 addition & 2 deletions rlogin.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit b5a460c

Please sign in to comment.