aboutsummaryrefslogtreecommitdiff
path: root/lib/smb.h
diff options
context:
space:
mode:
authorBill Nagel <wnagel@tycoint.com>2014-12-30 08:09:31 -0500
committerSteve Holme <steve_holme@hotmail.com>2014-12-30 13:10:30 +0000
commit89cce1e4581b7e22e9ea9d467fd529b917fcd10b (patch)
tree14e1e5683072acb758c6e177a5d9e8613177e9de /lib/smb.h
parentb4433a8ba6c7379edf779e854b9d38c87c39d99a (diff)
smb: Use the connection's upload buffer
Use the connection's upload buffer instead of allocating our own send buffer.
Diffstat (limited to 'lib/smb.h')
-rw-r--r--lib/smb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/smb.h b/lib/smb.h
index 4dd7c9a32..7852fa1de 100644
--- a/lib/smb.h
+++ b/lib/smb.h
@@ -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;