diff options
author | Andrew Tridgell <tridge@samba.org> | 2008-08-24 17:42:29 +1000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2008-08-24 17:42:29 +1000 |
commit | a22b9d648553e5e7e0ee19606d9bceeb3b356241 (patch) | |
tree | 64287308a9cc4b757388f7560d9df964ee0f6e85 /source4/torture/raw | |
parent | b030743d7408a427cf8e36faa1a2a3b8386112e8 (diff) | |
download | samba-a22b9d648553e5e7e0ee19606d9bceeb3b356241.tar.gz samba-a22b9d648553e5e7e0ee19606d9bceeb3b356241.tar.bz2 samba-a22b9d648553e5e7e0ee19606d9bceeb3b356241.zip |
fixed the data in SAVEFILE op in RAW-OFFLINE
(This used to be commit 3441ea5df5b750442d17b90de73d392d2d802ab1)
Diffstat (limited to 'source4/torture/raw')
-rw-r--r-- | source4/torture/raw/offline.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/raw/offline.c b/source4/torture/raw/offline.c index 0f7787a92f..f2f0bf5d27 100644 --- a/source4/torture/raw/offline.c +++ b/source4/torture/raw/offline.c @@ -256,7 +256,7 @@ static void test_offline(struct offline_state *state) state->savefile->in.fname = state->fname; state->savefile->in.data = talloc_size(state->savefile, FILE_SIZE); state->savefile->in.size = FILE_SIZE; - memset(state->savefile->in.data, state->fnumber, FILE_SIZE); + memset(state->savefile->in.data, 1+(state->fnumber%255), FILE_SIZE); ctx = smb_composite_savefile_send(state->tree, state->savefile); if (ctx == NULL) { |