projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Miscellaneous fixes to finish up `remove-statics'. rlogin.c had a
[u/mdw/putty]
/
telnet.c
diff --git
a/telnet.c
b/telnet.c
index
53ad180
..
91d0cab
100644
(file)
--- a/
telnet.c
+++ b/
telnet.c
@@
-758,10
+758,10
@@
static int telnet_send(void *handle, char *buf, int len)
{
Telnet telnet = (Telnet) handle;
unsigned char *p, *end;
{
Telnet telnet = (Telnet) handle;
unsigned char *p, *end;
- static unsigned char iac[2] = { IAC, IAC };
- static unsigned char cr[2] = { CR, NUL };
+ static
const
unsigned char iac[2] = { IAC, IAC };
+ static
const
unsigned char cr[2] = { CR, NUL };
#if 0
#if 0
- static unsigned char nl[2] = { CR, LF };
+ static
const
unsigned char nl[2] = { CR, LF };
#endif
if (telnet->s == NULL)
#endif
if (telnet->s == NULL)