X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=sftp.c;h=a30b24286b5fb3417c66fc0e632504ebeafb72f4;hb=6eec320f0b3606f17f06a290acdbb8f84afdff00;hp=cee7f8ea31cc8335dfc987ece30895b7112f6da7;hpb=e902c235ad5834006ae7e80bfe5c25b700609e0c;p=PuTTY.git diff --git a/sftp.c b/sftp.c index cee7f8ea..a30b2428 100644 --- a/sftp.c +++ b/sftp.c @@ -13,18 +13,6 @@ #include "tree234.h" #include "sftp.h" -#define GET_32BIT(cp) \ - (((unsigned long)(unsigned char)(cp)[0] << 24) | \ - ((unsigned long)(unsigned char)(cp)[1] << 16) | \ - ((unsigned long)(unsigned char)(cp)[2] << 8) | \ - ((unsigned long)(unsigned char)(cp)[3])) - -#define PUT_32BIT(cp, value) { \ - (cp)[0] = (unsigned char)((value) >> 24); \ - (cp)[1] = (unsigned char)((value) >> 16); \ - (cp)[2] = (unsigned char)((value) >> 8); \ - (cp)[3] = (unsigned char)(value); } - struct sftp_packet { char *data; unsigned length, maxlen;