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:
parent
7809b519d5
commit
3c9b8bff57
8
scpssh.c
8
scpssh.c
@ -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;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user