Fix build warning.
authorGünther Deschner <gd@samba.org>
Thu, 3 Jul 2008 09:09:32 +0000 (11:09 +0200)
committerGünther Deschner <gd@samba.org>
Thu, 3 Jul 2008 09:10:49 +0000 (11:10 +0200)
Thanks to Thorkil Olesen.

Guenther
(cherry picked from commit c18e5983c1e9274131ac7fca7ca5e6739ba2b312)

source/groupdb/mapping_tdb.c

index c6d9735e11982865be7597e5dee6a28e90254eb4..f1168887f986fc831c2d8f5fe52e8bb635f8e18b 100644 (file)
@@ -127,7 +127,7 @@ static bool add_mapping_entry(GROUP_MAP *map, int flag)
 
        key = group_mapping_key(talloc_tos(), &map->sid);
        if (key == NULL) {
-               return NULL;
+               return false;
        }
 
        len = tdb_pack(NULL, 0, "ddff",