git.samba.org
/
abartlet
/
samba.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba84998
)
libcli/raw: remove unused smb_raw_max_trans_data() function
author
Stefan Metzmacher
<metze@samba.org>
Mon, 7 Jul 2008 14:34:36 +0000
(16:34 +0200)
committer
Stefan Metzmacher
<metze@samba.org>
Mon, 7 Jul 2008 18:59:18 +0000
(20:59 +0200)
metze
source/libcli/raw/rawtrans.c
patch
|
blob
|
history
diff --git
a/source/libcli/raw/rawtrans.c
b/source/libcli/raw/rawtrans.c
index 7a90236c9cdcfd8d7c792f1998f2a4dfa3461863..2f529863dc94171b1e93ce02ebcca9d5b58b9870 100644
(file)
--- a/
source/libcli/raw/rawtrans.c
+++ b/
source/libcli/raw/rawtrans.c
@@
-959,15
+959,3
@@
NTSTATUS smb_raw_nttrans(struct smbcli_tree *tree,
return smb_raw_nttrans_recv(req, mem_ctx, parms);
}
-
-/*
- work out the maximum data size for a trans request while avoiding
- multi-part replies
-
- TODO: we only need to avoid multi-part replies because the
- multi-part trans receive code is broken.
-*/
-_PUBLIC_ size_t smb_raw_max_trans_data(struct smbcli_tree *tree, size_t param_size)
-{
- return tree->session->transport->negotiate.max_xmit - (70 + param_size);
-}