1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-03-22 14:39:24 -05:00

Clean up scp client - re-indent to my coding style and remove

compiler warnings

[originally from svn r280]
This commit is contained in:
Simon Tatham 1999-11-08 11:22:45 +00:00
parent 7809b519d5
commit 3c9b8bff57
2 changed files with 592 additions and 610 deletions

1180
scp.c

File diff suppressed because it is too large Load Diff

View File

@ -37,10 +37,10 @@
((unsigned long)(unsigned char)(cp)[3])) ((unsigned long)(unsigned char)(cp)[3]))
#define PUT_32BIT(cp, value) { \ #define PUT_32BIT(cp, value) { \
(cp)[0] = (value) >> 24; \ (cp)[0] = (unsigned char)((value) >> 24); \
(cp)[1] = (value) >> 16; \ (cp)[1] = (unsigned char)((value) >> 16); \
(cp)[2] = (value) >> 8; \ (cp)[2] = (unsigned char)((value) >> 8); \
(cp)[3] = (value); } (cp)[3] = (unsigned char)(value); }
static SOCKET s = INVALID_SOCKET; static SOCKET s = INVALID_SOCKET;