git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5ff4385
)
HACK 500 => 498 still works...
master3-testing
author
Stefan Metzmacher
<metze@samba.org>
Tue, 18 Feb 2014 12:41:56 +0000
(13:41 +0100)
committer
Stefan Metzmacher
<metze@samba.org>
Wed, 12 Mar 2014 23:05:00 +0000
(
00:05
+0100)
source3/libsmb/cliconnect.c
patch
|
blob
|
history
diff --git
a/source3/libsmb/cliconnect.c
b/source3/libsmb/cliconnect.c
index 3f0ea9ff3b1832a4c603c5fb51e85ab58a9ad257..964cdb32a8b6943b331c15e5b72d52a09e92dbb9 100644
(file)
--- a/
source3/libsmb/cliconnect.c
+++ b/
source3/libsmb/cliconnect.c
@@
-1096,7
+1096,10
@@
static bool cli_sesssetup_blob_next(struct cli_sesssetup_blob_state *state,
SCVAL(state->vwv+0, 0, 0xFF);
SCVAL(state->vwv+0, 1, 0);
SSVAL(state->vwv+1, 0, 0);
- SSVAL(state->vwv+2, 0, 500);//CLI_BUFFER_SIZE);
+{
+ static size_t v = 500;
+ SSVAL(state->vwv+2, 0, v--);//CLI_BUFFER_SIZE);
+}
SSVAL(state->vwv+3, 0, 2);
SSVAL(state->vwv+4, 0, 1);
SIVAL(state->vwv+5, 0, 0);