[SCM] Samba Shared Repository - branch master updated
Jeremy Allison
jra at samba.org
Wed Oct 27 13:26:01 MDT 2010
The branch, master has been updated
via 0bc94c2 Fix bug 7754 - samba uses index(), marked as legacy.
from 8c4d023 s4:setup/schema_samba4.ldif - this control isn't used anymore
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit 0bc94c21e5fe1eab59029e99dec4fef6f378fbb1
Author: Sven Neumann <s.neumann at raumfeld.com>
Date: Wed Oct 27 11:42:34 2010 -0700
Fix bug 7754 - samba uses index(), marked as legacy.
Autobuild-User: Jeremy Allison <jra at samba.org>
Autobuild-Date: Wed Oct 27 19:25:16 UTC 2010 on sn-devel-104
-----------------------------------------------------------------------
Summary of changes:
source3/registry/reg_perfcount.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source3/registry/reg_perfcount.c b/source3/registry/reg_perfcount.c
index c53036f..6a9c1af 100644
--- a/source3/registry/reg_perfcount.c
+++ b/source3/registry/reg_perfcount.c
@@ -621,14 +621,14 @@ static bool _reg_perfcount_add_counter(struct PERF_DATA_BLOCK *block,
obj = NULL;
memset(buf, 0, PERFCOUNT_MAX_LEN);
memcpy(buf, data.dptr, data.dsize);
- begin = index(buf, '[');
- end = index(buf, ']');
+ begin = strchr(buf, '[');
+ end = strchr(buf, ']');
if(begin == NULL || end == NULL)
return False;
start = begin+1;
while(start < end) {
- stop = index(start, ',');
+ stop = strchr(start, ',');
if(stop == NULL)
stop = end;
*stop = '\0';
--
Samba Shared Repository
More information about the samba-cvs
mailing list