[SCM] Samba Shared Repository - branch v3-2-test updated - initial-v3-2-unstable-400-g20c1ba2

Günther Deschner gd at samba.org
Fri Nov 30 01:18:20 GMT 2007


The branch, v3-2-test has been updated
       via  20c1ba23f2e2902ef7c2237c63addfef2ae75eac (commit)
      from  7539fb4c840a9b4429f347cebbda9c631746267a (commit)

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


- Log -----------------------------------------------------------------
commit 20c1ba23f2e2902ef7c2237c63addfef2ae75eac
Author: Günther Deschner <gd at samba.org>
Date:   Fri Nov 30 02:16:46 2007 +0100

    Fix _reg_perfcount_get_instance_info()
    
    Guenther

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

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


Changeset truncated at 500 lines:

diff --git a/source/registry/reg_perfcount.c b/source/registry/reg_perfcount.c
index 519e0e7..bc22b3d 100644
--- a/source/registry/reg_perfcount.c
+++ b/source/registry/reg_perfcount.c
@@ -714,7 +714,7 @@ bool _reg_perfcount_get_instance_info(PERF_INSTANCE_DEFINITION *inst,
 		memcpy(buf, data.dptr, MIN(PERFCOUNT_MAX_LEN-1,data.dsize));
 		buf[PERFCOUNT_MAX_LEN-1] = '\0';
 		inst->NameLength = rpcstr_push_talloc(ps->mem_ctx, &name, buf);
-		if (inst->NameLength == (size_t)-1 || !name) {
+		if (inst->NameLength == (uint32_t)-1 || !name) {
 			SAFE_FREE(data.dptr);
 			return False;
 		}


-- 
Samba Shared Repository


More information about the samba-cvs mailing list