projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Placate gcc's `-Wall' warnings.
[u/mdw/putty]
/
rlogin.c
diff --git
a/rlogin.c
b/rlogin.c
index
688c159
..
3ae1808
100644
(file)
--- a/
rlogin.c
+++ b/
rlogin.c
@@
-16,11
+16,6
@@
static Socket s = NULL;
static void rlogin_size(void);
static void rlogin_size(void);
-static int sb_opt, sb_len;
-static char *sb_buf = NULL;
-static int sb_size = 0;
-#define SB_DELTA 1024
-
static void c_write(char *buf, int len)
{
from_backend(0, buf, len);
static void c_write(char *buf, int len)
{
from_backend(0, buf, len);
@@
-77,7
+72,8
@@
static int rlogin_receive(Plug plug, int urgent, char *data, int len)
*
* Returns an error message, or NULL on success.
*
*
* Returns an error message, or NULL on success.
*
- * Also places the canonical host name into `realhost'.
+ * Also places the canonical host name into `realhost'. It must be
+ * freed by the caller.
*/
static char *rlogin_init(char *host, int port, char **realhost)
{
*/
static char *rlogin_init(char *host, int port, char **realhost)
{