mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-01 03:22:48 -05:00
Miscellaneous fixes to finish up `remove-statics'. rlogin.c had a
holdout static I hadn't noticed; unicode.c had one too; and a large number of statics that were perfectly OK due to being constants have been made `const', with assorted `const' repercussions all over the place. I now declare `remove-statics' to be fixed. [originally from svn r2594]
This commit is contained in:
6
telnet.c
6
telnet.c
@ -758,10 +758,10 @@ static int telnet_send(void *handle, char *buf, int len)
|
||||
{
|
||||
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
|
||||
static unsigned char nl[2] = { CR, LF };
|
||||
static const unsigned char nl[2] = { CR, LF };
|
||||
#endif
|
||||
|
||||
if (telnet->s == NULL)
|
||||
|
Reference in New Issue
Block a user