smb: Use the connection's upload buffer

Use the connection's upload buffer instead of allocating our own send
buffer.
This commit is contained in:
Bill Nagel
2014-12-30 08:09:31 -05:00
committed by Steve Holme
parent b4433a8ba6
commit 89cce1e458
2 changed files with 43 additions and 29 deletions

View File

@@ -37,8 +37,8 @@ struct smb_conn {
unsigned char challenge[8];
unsigned int session_key;
unsigned short uid;
char *send_buf;
char *recv_buf;
size_t upload_size;
size_t send_size;
size_t sent;
size_t got;