r9879: A quick check to see if nested initialisers (?) is portable across the
authorTim Potter <tpot@samba.org>
Thu, 1 Sep 2005 07:29:33 +0000 (07:29 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:36:19 +0000 (13:36 -0500)
build farm.  I have a feeling it isn't.
(This used to be commit 7cc8df0c2f46fb9ce753e368ce645bcb69585334)

source4/lib/ldb/modules/ldb_map.c

index cdf0e2940581d24df08e2aba86f4d68f84e3c5ad..076aa4c1dcfd6b42f94ba3bde8fe9de959e74a1b 100644 (file)
@@ -71,7 +71,11 @@ static const struct ldb_map_attribute builtin_attribute_maps[] = {
        {
                .local_name = "dn",
                .type = MAP_CONVERT,
-               .u.convert.remote_name = "dn",
+               .u = {
+                       .convert = {
+                               .remote_name = "dn",
+                       }
+               },
                .u.convert.convert_local = map_convert_local_dn,
                .u.convert.convert_remote = map_convert_remote_dn,
        },