diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2002-06-23 21:27:18 +0000 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2002-06-23 21:27:18 +0000 |
commit | b1f483f472da5fd2dbcb009d9988088f43c21579 (patch) | |
tree | 2d3f0c9906f6bb38e2d8f1e2a8f673191fdd3769 /sftp-common.c | |
parent | 5c3855210ef20be5931d4b58f641d71bc3b203e8 (diff) |
- deraadt@cvs.openbsd.org 2002/06/23 09:30:14
[sftp-client.c sftp-client.h sftp-common.c sftp-int.c sftp-server.c
sftp.c]
bunch of u_int vs int stuff
Diffstat (limited to 'sftp-common.c')
-rw-r--r-- | sftp-common.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sftp-common.c b/sftp-common.c index 4fb449655..6bed0ab8a 100644 --- a/sftp-common.c +++ b/sftp-common.c | |||
@@ -24,7 +24,7 @@ | |||
24 | */ | 24 | */ |
25 | 25 | ||
26 | #include "includes.h" | 26 | #include "includes.h" |
27 | RCSID("$OpenBSD: sftp-common.c,v 1.5 2001/12/02 02:08:32 deraadt Exp $"); | 27 | RCSID("$OpenBSD: sftp-common.c,v 1.6 2002/06/23 09:30:14 deraadt Exp $"); |
28 | 28 | ||
29 | #include "buffer.h" | 29 | #include "buffer.h" |
30 | #include "bufaux.h" | 30 | #include "bufaux.h" |
@@ -70,6 +70,7 @@ Attrib * | |||
70 | decode_attrib(Buffer *b) | 70 | decode_attrib(Buffer *b) |
71 | { | 71 | { |
72 | static Attrib a; | 72 | static Attrib a; |
73 | |||
73 | attrib_clear(&a); | 74 | attrib_clear(&a); |
74 | a.flags = buffer_get_int(b); | 75 | a.flags = buffer_get_int(b); |
75 | if (a.flags & SSH2_FILEXFER_ATTR_SIZE) | 76 | if (a.flags & SSH2_FILEXFER_ATTR_SIZE) |
@@ -88,6 +89,7 @@ decode_attrib(Buffer *b) | |||
88 | if (a.flags & SSH2_FILEXFER_ATTR_EXTENDED) { | 89 | if (a.flags & SSH2_FILEXFER_ATTR_EXTENDED) { |
89 | char *type, *data; | 90 | char *type, *data; |
90 | int i, count; | 91 | int i, count; |
92 | |||
91 | count = buffer_get_int(b); | 93 | count = buffer_get_int(b); |
92 | for (i = 0; i < count; i++) { | 94 | for (i = 0; i < count; i++) { |
93 | type = buffer_get_string(b, NULL); | 95 | type = buffer_get_string(b, NULL); |