[SCM] Samba Shared Repository - branch master updated

Volker Lendecke vlendec at samba.org
Wed Oct 14 11:33:03 UTC 2015


The branch, master has been updated
       via  cf89c7f ctdb-tests: Fix CID 1327218-1327221
      from  880b79a s3:lib/messages: fix error check in messaging_filtered_read_send()

https://git.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit cf89c7f42ef7f2a8954cb3a9920f80ee4fddfb5f
Author: Amitay Isaacs <amitay at gmail.com>
Date:   Wed Oct 14 10:09:08 2015 +1100

    ctdb-tests: Fix CID 1327218-1327221
    
    Signed-off-by: Amitay Isaacs <amitay at gmail.com>
    
    Autobuild-User(master): Volker Lendecke <vl at samba.org>
    Autobuild-Date(master): Wed Oct 14 13:32:02 CEST 2015 on sn-devel-104

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

Summary of changes:
 ctdb/tests/src/db_hash_test.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)


Changeset truncated at 500 lines:

diff --git a/ctdb/tests/src/db_hash_test.c b/ctdb/tests/src/db_hash_test.c
index e05d116..cc8a689 100644
--- a/ctdb/tests/src/db_hash_test.c
+++ b/ctdb/tests/src/db_hash_test.c
@@ -27,9 +27,8 @@ static void do_test(enum db_hash_type type)
 {
 	struct db_hash_context *dh;
 	TALLOC_CTX *mem_ctx = talloc_new(NULL);
-	TALLOC_CTX *tmp_ctx = talloc_new(NULL);
-	uint8_t *key = (uint8_t *)talloc_strdup(tmp_ctx, "This is a long key");
-	uint8_t *value = (uint8_t *)talloc_strdup(tmp_ctx, "This is a long value");
+	uint8_t key[] = "This is a long key";
+	uint8_t value[] = "This is a long value";
 	int ret;
 
 	ret = db_hash_init(mem_ctx, "foobar", 1024, type, &dh);


-- 
Samba Shared Repository



More information about the samba-cvs mailing list