diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/libsmb/read_smb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/read_smb.c b/source3/libsmb/read_smb.c index 48cdd2faa8..9c3d8f1e73 100644 --- a/source3/libsmb/read_smb.c +++ b/source3/libsmb/read_smb.c @@ -65,7 +65,7 @@ static ssize_t read_smb_more(uint8_t *buf, size_t buflen, void *private_data) if (buflen > 4) { return 0; /* We've been here, we're done */ } - return smb_len_large(buf); + return smb_len_tcp(buf); } static void read_smb_done(struct tevent_req *subreq) |