[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Fedora-directory-commits] ldapserver/ldap/servers/slapd/back-ldbm perfctrs.c, 1.6, 1.7



Author: rmeggins

Update of /cvs/dirsec/ldapserver/ldap/servers/slapd/back-ldbm
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv9575

Modified Files:
	perfctrs.c 
Log Message:
The arguments to memset were in the wrong order.  This code is only used on Windows.



Index: perfctrs.c
===================================================================
RCS file: /cvs/dirsec/ldapserver/ldap/servers/slapd/back-ldbm/perfctrs.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- perfctrs.c	12 Feb 2007 21:13:07 -0000	1.6
+++ perfctrs.c	8 Aug 2007 14:04:45 -0000	1.7
@@ -103,7 +103,7 @@
 {
 	performance_counters *perf = (performance_counters*)priv->memory;
 	if (NULL != perf) {
-		memset(perf,sizeof(performance_counters),0);
+		memset(perf,0,sizeof(performance_counters));
 	}
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]