From a22b9d648553e5e7e0ee19606d9bceeb3b356241 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sun, 24 Aug 2008 17:42:29 +1000 Subject: fixed the data in SAVEFILE op in RAW-OFFLINE (This used to be commit 3441ea5df5b750442d17b90de73d392d2d802ab1) --- source4/torture/raw/offline.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- cgit