summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/common/ldb_msg.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-10-12 08:51:12 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:39:43 -0500
commitc8978cb1f15b1ddc0c420baa568bd11db080b744 (patch)
tree7a04b650f52d1e6d143aa6bf4ed9f87e4670a9ef /source4/lib/ldb/common/ldb_msg.c
parentdc3e65b25295f68d0c7c5d3a7cc9bade638661f4 (diff)
downloadsamba-c8978cb1f15b1ddc0c420baa568bd11db080b744.tar.gz
samba-c8978cb1f15b1ddc0c420baa568bd11db080b744.tar.bz2
samba-c8978cb1f15b1ddc0c420baa568bd11db080b744.zip
r10918: - fixed standalone ldb build
- added note about allowedAttributesEffective (will be needed for mmc) - fixed some more ldb warnings (This used to be commit e9e4d81b6976549db8a7668572a5da466fbec4a9)
Diffstat (limited to 'source4/lib/ldb/common/ldb_msg.c')
-rw-r--r--source4/lib/ldb/common/ldb_msg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/ldb/common/ldb_msg.c b/source4/lib/ldb/common/ldb_msg.c
index a72a4616fb..977f68144b 100644
--- a/source4/lib/ldb/common/ldb_msg.c
+++ b/source4/lib/ldb/common/ldb_msg.c
@@ -646,7 +646,7 @@ time_t ldb_string_to_time(const char *s)
if (s == NULL) return 0;
- ZERO_STRUCT(tm);
+ memset(&tm, 0, sizeof(tm));
if (sscanf(s, "%04u%02u%02u%02u%02u%02u",
&tm.tm_year, &tm.tm_mon, &tm.tm_mday,
&tm.tm_hour, &tm.tm_min, &tm.tm_sec) != 6) {