[SCM] Samba Shared Repository - branch master updated

Matthias Dieter Wallnöfer mdw at samba.org
Fri Oct 15 13:12:01 MDT 2010


The branch, master has been updated
       via  5339bad s4:torture/local/dbspeed.c - use LDB result constant
      from  a8f26f6 s3-rpc_server: Normalize rpc_pipe_open_interface pipe name.

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


- Log -----------------------------------------------------------------
commit 5339bad942759f8daa4ff04b0c204247478ed579
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date:   Fri Oct 15 20:18:22 2010 +0200

    s4:torture/local/dbspeed.c - use LDB result constant
    
    Autobuild-User: Matthias Dieter Wallnöfer <mdw at samba.org>
    Autobuild-Date: Fri Oct 15 19:11:32 UTC 2010 on sn-devel-104

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

Summary of changes:
 source4/torture/local/dbspeed.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source4/torture/local/dbspeed.c b/source4/torture/local/dbspeed.c
index f66688d..62c1384 100644
--- a/source4/torture/local/dbspeed.c
+++ b/source4/torture/local/dbspeed.c
@@ -145,7 +145,8 @@ static bool ldb_add_record(struct ldb_context *ldb, unsigned rid)
 		return false;
 	}
 
-	if (ldb_msg_add_fmt(msg, "UID", "%u", rid) != 0) {
+	ret = ldb_msg_add_fmt(msg, "UID", "%u", rid);
+	if (ret != LDB_SUCCESS) {
 		talloc_free(msg);
 		return false;
 	}


-- 
Samba Shared Repository


More information about the samba-cvs mailing list