diff options
author | Luke Leighton <lkcl@samba.org> | 1999-11-24 18:15:50 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 1999-11-24 18:15:50 +0000 |
commit | 2752e372b64337de24edef52575ddc7da0ed8d04 (patch) | |
tree | e9b99c9174960f4e900ac49528f5dfb96528213e /source3/lib | |
parent | d7889cd22347e7acd4effb7682d442eef7a666e4 (diff) | |
download | samba-2752e372b64337de24edef52575ddc7da0ed8d04.tar.gz samba-2752e372b64337de24edef52575ddc7da0ed8d04.tar.bz2 samba-2752e372b64337de24edef52575ddc7da0ed8d04.zip |
WARNING! MOVED rpc_server/srv_lsa_hnd.c TO lib/util_hnd.c
CVS UPDATE MAY ISSUE WARNING ABOUT lib/util_hnd.c MODIFICATION
DATE BEING IN THE FUTURE. CVS CHECKOUT A NEW REPOSITORY MAY BE
SAFER.
(This used to be commit c26e8a6ac59934ae580077df937439c2c538dbdb)
Diffstat (limited to 'source3/lib')
-rw-r--r-- | source3/lib/util_hnd.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/source3/lib/util_hnd.c b/source3/lib/util_hnd.c index 7a14437482..36bacad59b 100644 --- a/source3/lib/util_hnd.c +++ b/source3/lib/util_hnd.c @@ -101,12 +101,11 @@ static void create_pol_hnd(POLICY_HND *hnd) /**************************************************************************** initialise policy handle states... ****************************************************************************/ -void init_policy_hnd(int num_pol_hnds) +BOOL init_policy_hnd(int num_pol_hnds) { bmap = bitmap_allocate(num_pol_hnds); - if (!bmap) { - exit_server("out of memory in init_policy_hnd\n"); - } + + return bmap != NULL; } /**************************************************************************** |