HACK 500 => 498 still works... master3-testing
authorStefan Metzmacher <metze@samba.org>
Tue, 18 Feb 2014 12:41:56 +0000 (13:41 +0100)
committerStefan Metzmacher <metze@samba.org>
Wed, 12 Mar 2014 23:05:00 +0000 (00:05 +0100)
source3/libsmb/cliconnect.c

index 3f0ea9ff3b1832a4c603c5fb51e85ab58a9ad257..964cdb32a8b6943b331c15e5b72d52a09e92dbb9 100644 (file)
@@ -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);