[SCM] Samba Shared Repository - branch v4-0-test updated - release-4-0-0alpha5-374-g3441ea5

Andrew Tridgell tridge at samba.org
Sun Aug 24 07:42:38 GMT 2008


The branch, v4-0-test has been updated
       via  3441ea5df5b750442d17b90de73d392d2d802ab1 (commit)
      from  5859bb337ce2ec5091425ebd02cad14c4da40457 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v4-0-test


- Log -----------------------------------------------------------------
commit 3441ea5df5b750442d17b90de73d392d2d802ab1
Author: Andrew Tridgell <tridge at samba.org>
Date:   Sun Aug 24 17:42:29 2008 +1000

    fixed the data in SAVEFILE op in RAW-OFFLINE

-----------------------------------------------------------------------

Summary of changes:
 source/torture/raw/offline.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/torture/raw/offline.c b/source/torture/raw/offline.c
index 0f7787a..f2f0bf5 100644
--- a/source/torture/raw/offline.c
+++ b/source/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) {


-- 
Samba Shared Repository


More information about the samba-cvs mailing list