diff options
author | Rich Megginson <rmeggins@redhat.com> | 2007-08-08 14:04:45 +0000 |
---|---|---|
committer | Rich Megginson <rmeggins@redhat.com> | 2007-08-08 14:04:45 +0000 |
commit | 4fc63ed438494c8f53f894a59f98081ec982afa3 (patch) | |
tree | 7761cf6ea8c7f03412f4ac80415a46cfce20e430 | |
parent | bc7f87709449298c3c76fd73246e794013605067 (diff) | |
download | ds-4fc63ed438494c8f53f894a59f98081ec982afa3.tar.gz ds-4fc63ed438494c8f53f894a59f98081ec982afa3.tar.xz ds-4fc63ed438494c8f53f894a59f98081ec982afa3.zip |
The arguments to memset were in the wrong order. This code is only used on Windows.
-rw-r--r-- | ldap/servers/slapd/back-ldbm/perfctrs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ldap/servers/slapd/back-ldbm/perfctrs.c b/ldap/servers/slapd/back-ldbm/perfctrs.c index 21ca5e5d..13fda0db 100644 --- a/ldap/servers/slapd/back-ldbm/perfctrs.c +++ b/ldap/servers/slapd/back-ldbm/perfctrs.c @@ -103,7 +103,7 @@ static void init_shared_memory(perfctrs_private *priv) { performance_counters *perf = (performance_counters*)priv->memory; if (NULL != perf) { - memset(perf,sizeof(performance_counters),0); + memset(perf,0,sizeof(performance_counters)); } } |